reworked on error code, create associated doc, module list checks

This commit is contained in:
levasseur
2021-07-12 12:25:26 +02:00
parent 09c94af407
commit 573c2cde5c
10 changed files with 179 additions and 146 deletions

View File

@@ -162,5 +162,24 @@ precheck_@template@()
export -f @template@
export -f precheck_@template@
```
## Error code table
The following table is giving a list of error code with explanation:
| Code | Meaning |
|:----------|:----------------------------------------|
| 0 | No error |
| 1 | Command line syntax error |
| 2 | Unable to find configuration |
| 3 | Missing library file or function |
| 4 | No root rights |
| 5 | Malformed module list |
| 10 | Function call error |
| 11 | Bad function call |
| 12 | Error copying files |
| 13 | Bad target filesystem |
| 50..100 | Error in module execution |
| 128 | Abortion due to external cause |
| 150..200 | Error in module checks |
## Contact and more information