errors.md: added table of content, fixed title

This commit is contained in:
levasseur
2021-12-15 18:21:42 +01:00
parent 7ac67e617d
commit 1839924623

View File

@@ -1,10 +1,33 @@
# This is **init.sh** error fixing documentation # **init.sh** error fixing documentation
This document do not pretend to be exhaustive but will cover all errors that can This document do not pretend to be exhaustive but will cover all errors that can
be returned by libraries and some basic modules. It will not cover errors be returned by libraries and some basic modules. It will not cover errors
generated by external programs or Bash itself. Please refer to corresponding generated by external programs or Bash itself. Please refer to corresponding
documentation in such situation. documentation in such situation.
## Table of contents
- [Error #1: Command line syntax error or incompatible options](#error-1-command-line-syntax-error-or-incompatible-options)
- [Error #2: Misuse of Bash built-in](#error-2-misuse-of-bash-built-in)
- [Error #3: Missing library file or function](#error-3-missing-library-file-or-function)
- [Error #4: No root right](#error-4-no-root-right)
- [Error #7: Misuse of script internal function](#error-7-misuse-of-script-internal-function)
- [Error #8: Can't determine OS type or version](#error-8-cant-determine-os-type-or-version)
- [Error #9: Unsatisfied dependency](#error-9-unsatisfied-dependency)
- [Error #10: File missing or empty](#error-10-file-missing-or-empty)
- [Error #11: Bad function call](#error-11-bad-function-call)
- [Error 12: Error copying files](#error-12-error-copying-files)
- [Error #13: Bad target file system](#error-13-bad-target-file-system)
- [Error #14: Impossible to chroot](#error-14-impossible-to-chroot)
- [Error #15: Bad chrooted installation, destination OS needs to be fixed](#error-15-bad-chrooted-installation-destination-os-needs-to-be-fixed)
- [Error #16: Invalid options provided with cron mode activated](#error-16-invalid-options-provided-with-cron-mode-activated)
- [Error #17: Missing or invalid status file, can't resume](#error-17-missing-or-invalid-status-file-cant-resume)
- [Error #50 to #100: Error in module execution](#error-50-to-100-error-in-module-execution)
- [Error #126: Command exists but is not executable](#error-126-command-exists-but-is-not-executable)
- [Error #127: Command not found](#error-127-command-not-found)
- [Error #128: Abortion due to external cause](#error-128-abortion-due-to-external-cause)
- [Error #150 to #200: Error in module checks](#error-150-to-200-error-in-module-checks)
- [Error #255: Exit status out of range](#error-255-exit-status-out-of-range)
## Error #1: Command line syntax error or incompatible options ## Error #1: Command line syntax error or incompatible options
You've called the **init.sh** script with command line syntax error or options You've called the **init.sh** script with command line syntax error or options
that are not compatible together. Some options exclude each others or trigger that are not compatible together. Some options exclude each others or trigger