Open Sidebar
Close Sidebar
CrystalDoc.info
Source code
Shards.info
must
v0.2.0
Must
Any
Cast
CastError
Error
Match
MatchError
ObjectExtensions
Rule
TypeError
Object
Built with Crystal 1.9.2
2023-10-08 13:44:42 UTC
module
Must
Defined in:
must/errors.cr
must/object_extensions.cr
Class Method Summary
.cast_error
(value, to)
.type_error
(value, expected_klass)
Class Method Detail
def self.
cast_error
(value, to)
#
[
View source
]
def self.
type_error
(value, expected_klass)
#
[
View source
]