class BinData::ContentTooLarge

Overview

Raised when a field would allocate or read more than BinData#max_content_length permits. A ParseError so it surfaces through the normal read error path without being re-wrapped.

Defined in:

bindata/exceptions.cr

Constructor methods inherited from class BinData::ParseError

new(klass, field, ex : Exception)
new(message)
new

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