class
BinData::CallbackError
- BinData::CallbackError
- BinData::CustomException
- Exception
- Reference
- Object
Overview
Wraps any error raised inside a before_serialize / after_deserialize
callback, so callback failures stay within the CustomException hierarchy
instead of leaking a bare RuntimeError. The original error is the cause.
Defined in:
bindata/exceptions.crConstructors
Instance methods inherited from class BinData::CustomException
field : String | Nil
field,
field_type : String | Nil
field_type,
klass : String | Nil
klass
Constructor methods inherited from class BinData::CustomException
new(message, ex : Exception)new(message) new