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 Summary
-
Method Details
-
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
- Returns:
- humanized error message in case of render error, null in case of render success.
-
errorCause
- Returns:
- exception that caused render error, null in case of render success.
-