1
0
mirror of https://github.com/TREX-CoE/trexio.git synced 2024-08-25 06:31:43 +02:00

Improved error messages

This commit is contained in:
Anthony Scemama 2021-05-06 19:54:37 +02:00
parent 181fe988f3
commit 7302f02b9c

View File

@ -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' |