ValidationFailure

@Serializable
@SerialName(value = "failure")
class ValidationFailure : ValidationIssue(source)

Validation issue built by the manager when a validation fails to run (throws an exception while being executed). The code of this validation error is CODE.

The validation error data contains entries with keys "validation", "exception", and "stackTrace" containing information on the name of the validation that caused the exception as well as information about the exception itself. These data properties are also accessible via properties of the class with the same name.

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
open override val code: String

Code representing the issue.

Link copied to clipboard
open override val data: ValidationIssueData

Additional issue data. This additional data can be used, for example, to help write a user-friendly message associated with the issue.

Link copied to clipboard

Exception that occurred (name and message).

Link copied to clipboard

Severity of the validation issue.

Link copied to clipboard

Exception stack trace.

Link copied to clipboard

Name of the validation where the exception occurred.

Functions

Link copied to clipboard

Whether this validation issue "contains" issue.

Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
Link copied to clipboard
open override fun hashCode(): Int
Link copied to clipboard
open override fun toString(): String