Constants§
- BUFFER_
TOO_ SMALL - The provided buffer is too small to hold the requested data.
- DATA_
FIELD_ TOO_ LARGE - The data field is too large to be processed.
- EMPTY_
SLOT - The specified slot did not contain any slotted data (i.e., is empty).
- FIELD_
NOT_ FOUND - The requested serialized field could not be found in the specified object.
- INDEX_
OUT_ OF_ BOUNDS - The specified index is outside the valid bounds of the array or collection.
- INTERNAL_
ERROR - Reserved for internal invariant trips, generally unrelated to inputs.
- INVALID_
ACCOUNT - The provided account identifier is invalid.
- INVALID_
DECODING - An error occurred while decoding serialized data.
- INVALID_
FIELD - The specified field identifier is invalid or not recognized.
- INVALID_
FLOAT_ COMPUTATION - An error occurred during floating-point computation.
- INVALID_
FLOAT_ INPUT - The input provided for floating-point parsing is malformed.
- INVALID_
PARAMS - One or more of the parameters provided to the API are invalid.
- LEDGER_
OBJ_ NOT_ FOUND - The requested ledger object could not be found.
- LOCATOR_
MALFORMED - The provided locator string is malformed or invalid.
- NOT_
LEAF_ FIELD - The specified field is not a leaf field and cannot be accessed directly.
- NO_
ARRAY - The API was asked to assume the object under analysis is an STArray but it was not.
- NO_
MEM_ EXPORTED - No memory has been exported by the WebAssembly module.
- POINTER_
OUT_ OF_ BOUNDS - A pointer or buffer length provided as a parameter described memory outside the allowed memory region.
- SLOTS_
FULL - No free slots are available for allocation.
- SLOT_
OUT_ RANGE - The specified slot number is outside the valid range.
Functions§
- match_
result_ code - Evaluates a result code and executes a closure on success (result_code > 0).
- match_
result_ code_ optional - Evaluates a result code and executes a closure on success, handling optional return values.
- match_
result_ code_ with_ expected_ bytes - Evaluates a result code against an expected number of bytes and executes a closure on exact match.
- match_
result_ code_ with_ expected_ bytes_ optional - Evaluates a result code against expected bytes with optional field handling.