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