Skip to content

Commit d90f2af

Browse files
authored
Update error.ts
1 parent 9a625b2 commit d90f2af

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/error/error.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,7 @@ class ErrorHandler {
138138
*
139139
* @param callback Function that handles the error
140140
*/
141-
otherwise(callback : (error : unknown) => void) : this {
141+
unknown(callback : (error : unknown) => void) : this {
142142
if (!this.handled) {
143143
callback(this.currentError);
144144
this.markHandled();

0 commit comments

Comments
 (0)