We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9a625b2 commit d90f2afCopy full SHA for d90f2af
src/error/error.ts
@@ -138,7 +138,7 @@ class ErrorHandler {
138
*
139
* @param callback Function that handles the error
140
*/
141
- otherwise(callback : (error : unknown) => void) : this {
+ unknown(callback : (error : unknown) => void) : this {
142
if (!this.handled) {
143
callback(this.currentError);
144
this.markHandled();
0 commit comments