Skip to content

Commit c68564f

Browse files
authored
quickmath (#278)
1 parent b08e0e4 commit c68564f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ function liftErrorCode (code) {
1212
return 1011
1313
} else if (code === 1004 || code === 1005 || code === 1006) {
1414
// ws module forbid those error codes usage, lift to "application level" (4xxx)
15-
return 4000 + (code % 1000)
15+
return 3000 + code
1616
} else {
1717
return code
1818
}

0 commit comments

Comments
 (0)