Skip to content

class Athena::ORM::Exception::InvalidFormat
inherits Athena::ORM::Exception::Conversion #

Raised when a value read from the database isn't in the format an AORM::Types::Type expects, such as an unparsable date and time.

Constructors#

.new(value : String, to_type : String, expected_format : String | Nil, cause : ::Exception | Nil = nil)#

View source