class MessagePack::UnpackException

Overview

Raised on invalid MessagePack strings.

Defined in:

message_pack/unpack_exception.cr

Constructors

Instance Method Summary

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.


[View source]

Instance Method Detail

def byte_number : Int32 #

The line number where the invalid MessagePack was detected.


[View source]