There are situations where errorCode will not be defined, so we need to support the case where it will be undefined.
Note that this can potentially break existing users, but it would be a compile time breaking change, and it actually rectifies incorrect behavior and won't introduce run-time issues. So we should be okay to release this in a patch version.
Changes
There are situations where errorCode will not be defined, so we need to support the case where it will be undefined.
Note that this can potentially break existing users, but it would be a compile time breaking change, and it actually rectifies incorrect behavior and won't introduce run-time issues. So we should be okay to release this in a patch version.
References
Fixes #951
Checklist