void (final @NotNull String localizedMessage, final @Nullable String stackTrace, final boolean isCritical) { final SMTestProxy currentProxy = findCurrentTestOrSuite(); currentProxy.addError(localizedMessage, stackTrace, isCritical); }