class

BinData::CallbackError

Inherits BinData::CustomException / Exception / Reference / Object

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.

Constructors

new(message, ex : Exception)
Source