Module: Majoron::AntHill::CodecErrors

Defined in:
lib/anthill_constants.rb

Overview

Module contains encoder and decoder errors

Constant Summary collapse

DECODER_INV_SKIPPING =
"Unable to padding. Offset is: %d."
DECODER_INV_PADDING =
"Unable to padding. Offset is: %d."
DECODER_INV_CHAR =
"Unable to decode char. Offset is: %d."
DECODER_INV_UNSIGNED_CHAR =
"Unable to decode unsigned char. Offset is: %d."
DECODER_INV_INTEGER32 =
"Unable to decode integer32. Offset is: %d."
DECODER_INV_INTEGER24 =
"Unable to decode integer24. Offset is: %d."
DECODER_INV_INTEGER16 =
"Unable to decode integer16. Offset is: %d."
DECODER_INV_UNSIGNED32 =
"Unable to decode integer32. Offset is: %d."
DECODER_INV_UNSIGNED24 =
"Unable to decode integer24. Offset is: %d."
DECODER_INV_UNSIGNED16 =
"Unable to decode integer16. Offset is: %d."
DECODER_INV_CSTRING =
"Unable to decode cstring. Offset is: %d."
DECODER_OVERFLOW_CSTRING =
"Unable to decode cstring due to overflow. Offset is: %d."
DECODER_INV_BINARY =
"Unable to decode cstring. Offset is: %d."
DECODER_INV_OFFSET =
"Unable to decode package. Offset after decoding is not equal to length. Offset is: %d. Lenght is: %d"
DECODER_DUE_TO_LIMIT =
"Unable to decode package. Offset after decoding is greater than length. Offset is: %d. Lenght is: %d"