class MessagePack::UnpackException
- MessagePack::UnpackException
- MessagePack::Error
- Exception
- Reference
- Object
Overview
Raised on invalid MessagePack strings.
Defined in:
message_pack/unpack_exception.crConstructors
-
.new(message, byte_number : Int32 = 0)
Creates a ParseException with the given message and byte number.
Instance Method Summary
-
#byte_number : Int32
The line number where the invalid MessagePack was detected.
Instance methods inherited from class Object
to_msgpack(io : IO)to_msgpack(packer : MessagePack::Packer)
to_msgpack to_msgpack, to_msgpack64 to_msgpack64
Class methods inherited from class Object
from_msgpack(string_or_io)
from_msgpack,
from_msgpack64(string_or_io)
from_msgpack64
Constructor Detail
def self.new(message, byte_number : Int32 = 0)
#
Creates a ParseException with the given message and byte number.