Interface ScriptRenderResult


public interface ScriptRenderResult
Object that contains information about script rendering result. In case of render success it provides rendered HTML markup. In case of render error it provides error message and error cause.
Since:
3.10.1
  • Method Details

    • content

      @NotNull String content()
      Returns:
      rendered HTML markup in case of render success, empty string in case of render error.
    • isSuccessful

      boolean isSuccessful()
      Returns:
      true if render was done without exceptions, false otherwise.
    • errorMessage

      @Nullable String errorMessage()
      Returns:
      humanized error message in case of render error, null in case of render success.
    • errorCause

      @Nullable Exception errorCause()
      Returns:
      exception that caused render error, null in case of render success.