Open Sidebar
Close Sidebar
CrystalDoc.info
Source code
Shards.info
schema
v0.2.7
Equal
Exclusion
GreaterThan
GreaterThanOrEqual
Inclusion
LessThan
LessThanOrEqual
Presence
RegularExpression
Required
Schema
Constraint
Definition
EmptyIndexForNonScalarArrayParamError
Error
ExplicitKeyForNonScalarParam
InvalidParamIndexError
NestedContentForScalarParamError
ParamIndexOutOfBoundsError
ParamMissingError
ParamTypeCastError
Scalar
Error
Errors
Param
Predicates
Validation
ValidationError
Validator
Size
Time
EpochConverter
ISO8601Converter
LocalConverter
TimeConverter
Tuple
URI
Built with Crystal 1.9.2
2023-10-08 12:59:46 UTC
struct
Schema::Error
Schema::Error
Struct
Value
Object
Defined in:
schema/validation/error.cr
Constructors
.new
(field : Symbol, message : String)
Instance Method Summary
#field
: Symbol
#message
: String
Constructor Detail
def self.
new
(field : Symbol, message : String)
#
[
View source
]
Instance Method Detail
def
field
: Symbol
#
[
View source
]
def
message
: String
#
[
View source
]