We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 830eb04 commit bd599f4Copy full SHA for bd599f4
src/utils.js
@@ -28,6 +28,7 @@ function isEmptyObject(what) {
28
function isError(what) {
29
return isObject(what) &&
30
objectPrototype.toString.call(what) === '[object Error]' ||
31
+ objectPrototype.toString.call(what) === '[object Exception]' || // Firefox NS_ERROR_FAILURE Exceptions
32
what instanceof Error;
33
}
34
0 commit comments