enum Marisa::ErrorCode

Defined in:

lib_marisa.cr

Enum Members

OK = 0

Operation succeeded

STATE_ERROR = 1

Object not ready for requested operation

NULL_ERROR = 2

Invalid NULL pointer provided

BOUND_ERROR = 3

Attempt to access out of range address

RANGE_ERROR = 4

Out of range value in operation

CODE_ERROR = 5

Undefined code appeared in operation

RESET_ERROR = 6

Smart pointer tried to reset itself

SIZE_ERROR = 7

Size exceeded library limitation

MEMORY_ERROR = 8

Memory allocation failed

IO_ERROR = 9

I/O operation failed

FORMAT_ERROR = 10

Input was in invalid format

Instance Method Summary

Instance Method Detail

def bound_error? #

def code_error? #

def format_error? #

def io_error? #

def memory_error? #

def null_error? #

def ok? #

def range_error? #

def reset_error? #

def size_error? #

def state_error? #