info.fingo.spata.schema.error

Members list

Type members

Classlikes

sealed trait SchemaError

Error for schema validation.

Error for schema validation.

Attributes

Supertypes
class Object
trait Matchable
class Any
Known subtypes
final class TypeError extends SchemaError

Error for invalid type of field encountered during schema validation.

Error for invalid type of field encountered during schema validation.

Value parameters

ce

content error returned by record parsing - see Record.get

Attributes

Supertypes
trait SchemaError
class Object
trait Matchable
class Any
final class ValidationError extends SchemaError

Result of erroneous custom validation.

Result of erroneous custom validation.

Value parameters

code

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

message

default error message

Attributes

Supertypes
trait SchemaError
class Object
trait Matchable
class Any