class MessagePack::UnpackError

Overview

Raised on invalid MessagePack strings.

Direct Known Subclasses

Defined in:

message_pack/errors.cr

Constructors

Instance Method Summary

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.


[View source]

Instance Method Detail

def byte_number : Int32 #

The byte number where the invalid MessagePack was detected.


[View source]