class BinData::CustomException

Overview

Base class for every error raised while (de)serializing. Carries the failing type, field and field type when known, so they can be inspected by a rescue.

Direct Known Subclasses

Defined in:

bindata/exceptions.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(message, ex : Exception) #

[View source]
def self.new(message) #

[View source]

Instance Method Detail

def field : String | Nil #

[View source]
def field_type : String | Nil #

[View source]
def klass : String | Nil #

[View source]