Display

data class Display(val output: Any?, val errors: Any?)

Constructors

Link copied to clipboard
constructor(output: Any?, errors: Any?)

Properties

Link copied to clipboard
val errors: Any?

If any fields failed to render, this will contain a mapping from failed field names to error messages. If all fields succeed, this will be null.

Link copied to clipboard
val output: Any?

Output for all successfully substituted display fields. Unsuccessful fields will be null, and will be accompanied by a field in errors, explaining the error.