ValidationError

info.fingo.spata.schema.error.ValidationError
final class ValidationError extends SchemaError

Result of erroneous custom validation.

Value parameters

code

the error code, which may be used to provide localized message

message

default error message

Attributes

Graph
Supertypes
trait SchemaError
class Object
trait Matchable
class Any

Members list

Value members

Concrete fields

val code: String

Gets short code of error. This value can be used as a key to provide localized error information.

Gets short code of error. This value can be used as a key to provide localized error information.

Attributes

Gets default error message.

Gets default error message.

Attributes