Purpose: Provides functions to generate error messages for common error scenarios.
Script: bashful-error.inc.sh
Unit Test Scripts: No unit test scripts exist for error
.
Requires Modules: bashful
Required By Modules: None
Variable Name | Purpose |
---|---|
BASHFUL_LOADED_error |
Declares that error has been loaded |
Function Name | Description |
---|---|
ERROR_commandExecution |
Generates a message that indicates an error has occurred while executing a command. Returns a non-success status code. |
ERROR_commandNotExecutable |
Generates a message that indicates an error has occurred while executing a command that was not executable. Returns a non-success status code. |
ERROR_invalidSettingValue |
Generates a message that indicates a setting has an invalid value. Returns a non-success status code. |
ERROR_missingSetting |
Generates a message that indicates a required setting is missing. Returns a non-success status code. |
Description: Generates a message that indicates an error has occurred while executing a command. Returns a non-success status code.
Description: Generates a message that indicates an error has occurred while executing a command that was not executable. Returns a non-success status code.
Description: Generates a message that indicates a setting has an invalid value. Returns a non-success status code.
Description: Generates a message that indicates a required setting is missing. Returns a non-success status code.