ValidationFailureException

class ValidationFailureException(val path: AbsolutePath, val validation: Validation<*>, cause: Throwable) : AtPathException(source)

Exception thrown when a validation fails to run via the form validator or form utilities due to an exception being thrown while running it.

The original thrown exception is accessible as the cause of this exception.

Constructors

Link copied to clipboard
constructor(path: AbsolutePath, validation: Validation<*>, cause: Throwable)

Properties

Link copied to clipboard
open val cause: Throwable?
Link copied to clipboard
open val message: String?
Link copied to clipboard

Path where the exception occurred.

Link copied to clipboard

Validation in which the error occurred.