mirror of
https://github.com/TREX-CoE/trexio.git
synced 2025-01-10 21:18:35 +01:00
Improved error messages
This commit is contained in:
parent
181fe988f3
commit
7302f02b9c
@ -115,7 +115,7 @@ typedef int32_t trexio_exit_code;
|
||||
|
||||
#+NAME: table-exit-codes
|
||||
| Macro | Code | Description |
|
||||
|-----------------------------+------+--------------------------------|
|
||||
|-----------------------------+------+---------------------------|
|
||||
| ~TREXIO_FAILURE~ | -1 | 'Unknown failure' |
|
||||
| ~TREXIO_SUCCESS~ | 0 | 'Success' |
|
||||
| ~TREXIO_INVALID_ARG_1~ | 1 | 'Invalid argument 1' |
|
||||
@ -129,8 +129,8 @@ typedef int32_t trexio_exit_code;
|
||||
| ~TREXIO_INVALID_ID~ | 9 | 'Invalid ID' |
|
||||
| ~TREXIO_ALLOCATION_FAILED~ | 10 | 'Allocation failed' |
|
||||
| ~TREXIO_HAS_NOT~ | 11 | 'Element absent' |
|
||||
| ~TREXIO_INVALID_NUM~ | 12 | 'Invalid exit code' |
|
||||
| ~TREXIO_NUM_ALREADY_EXISTS~ | 13 | 'This variable already exists' |
|
||||
| ~TREXIO_INVALID_NUM~ | 12 | 'Invalid dimensions' |
|
||||
| ~TREXIO_NUM_ALREADY_EXISTS~ | 13 | 'Variable already exists' |
|
||||
| ~TREXIO_OPEN_ERROR~ | 14 | 'Error opening file' |
|
||||
| ~TREXIO_LOCK_ERROR~ | 15 | 'Error locking file' |
|
||||
| ~TREXIO_UNLOCK_ERROR~ | 16 | 'Error unlocking file' |
|
||||
|
Loading…
Reference in New Issue
Block a user