enum
Marisa::ErrorCode
Defined in:
lib_marisa.crEnum 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
-
#bound_error?
Returns
trueif this enum value equalsBOUND_ERROR -
#code_error?
Returns
trueif this enum value equalsCODE_ERROR -
#format_error?
Returns
trueif this enum value equalsFORMAT_ERROR -
#io_error?
Returns
trueif this enum value equalsIO_ERROR -
#memory_error?
Returns
trueif this enum value equalsMEMORY_ERROR -
#null_error?
Returns
trueif this enum value equalsNULL_ERROR -
#ok?
Returns
trueif this enum value equalsOK -
#range_error?
Returns
trueif this enum value equalsRANGE_ERROR -
#reset_error?
Returns
trueif this enum value equalsRESET_ERROR -
#size_error?
Returns
trueif this enum value equalsSIZE_ERROR -
#state_error?
Returns
trueif this enum value equalsSTATE_ERROR