@@ -10,9 +10,6 @@ Core functions for any Bash program
1010* [ core.trap_remove] ( #coretrap_remove )
1111* [ core.shopt_push] ( #coreshopt_push )
1212* [ core.shopt_pop] ( #coreshopt_pop )
13- * [ core.err_set] ( #coreerr_set )
14- * [ core.err_clear] ( #coreerr_clear )
15- * [ core.err_exists] ( #coreerr_exists )
1613* [ core.panic] ( #corepanic )
1714* [ core.print_stacktrace] ( #coreprint_stacktrace )
1815* [ core.print_fatal_fn] ( #coreprint_fatal_fn )
@@ -25,6 +22,9 @@ Core functions for any Bash program
2522* [ core.print_warn] ( #coreprint_warn )
2623* [ core.print_info] ( #coreprint_info )
2724* [ core.print_debug] ( #coreprint_debug )
25+ * [ core.err_set] ( #coreerr_set )
26+ * [ core.err_clear] ( #coreerr_clear )
27+ * [ core.err_exists] ( #coreerr_exists )
2828* [ core.should_output_color] ( #coreshould_output_color )
2929* [ core.get_package_info] ( #coreget_package_info )
3030* [ core.init] ( #coreinit )
@@ -104,39 +104,6 @@ core.shopt_pop
104104
105105_ Function has no arguments._
106106
107- ### core.err_set
108-
109- Sets an error.
110-
111- #### Arguments
112-
113- * ** $1** (Error): code
114- * ** $2** (Error): message
115-
116- #### Variables set
117-
118- * ** number** (ERRCODE): Error code
119- * ** string** (ERR): Error message
120-
121- ### core.err_clear
122-
123- Clears any of the global error state (sets to empty string).
124- This means any ` core.err_exists ` calls after this _ will_ ` return 1 `
125-
126- _ Function has no arguments._
127-
128- #### Variables set
129-
130- * ** number** (ERRCODE): Error code
131- * ** string** (ERR): Error message
132-
133- ### core.err_exists
134-
135- Checks if an error exists. If ` ERR ` is not empty, then an error
136- _ does_ exist
137-
138- _ Function has no arguments._
139-
140107### core.panic
141108
142109Use when a serious fault occurs. It will print the current ERR (if it exists)
@@ -245,6 +212,39 @@ Print a debug message to standard output if the environment variable "DEBUG" is
245212
246213* ** $1** (string): message
247214
215+ ### core.err_set
216+
217+ (DEPRECATED) Sets an error.
218+
219+ #### Arguments
220+
221+ * ** $1** (Error): code
222+ * ** $2** (Error): message
223+
224+ #### Variables set
225+
226+ * ** number** (ERRCODE): Error code
227+ * ** string** (ERR): Error message
228+
229+ ### core.err_clear
230+
231+ (DEPRECATED) Clears any of the global error state (sets to empty string).
232+ This means any ` core.err_exists ` calls after this _ will_ ` return 1 `
233+
234+ _ Function has no arguments._
235+
236+ #### Variables set
237+
238+ * ** number** (ERRCODE): Error code
239+ * ** string** (ERR): Error message
240+
241+ ### core.err_exists
242+
243+ (DEPRECATED) Checks if an error exists. If ` ERR ` is not empty, then an error
244+ _ does_ exist
245+
246+ _ Function has no arguments._
247+
248248### core.should_output_color
249249
250250(DEPRECATED). Determine if color should be printed. Note that this doesn't
0 commit comments