Skip to content
This repository has been archived by the owner on Jul 19, 2021. It is now read-only.

.statusCode is not a property of Error #7

Open
jrblakely opened this issue Sep 6, 2018 · 0 comments
Open

.statusCode is not a property of Error #7

jrblakely opened this issue Sep 6, 2018 · 0 comments

Comments

@jrblakely
Copy link

In GraceError.js at line 14 err.statusCode = code;

If I am reading the documentation correctly, statusCode is not a property of the Error class, I believe the correct property to use is .code.

statusCode is a property of Response class that is being examined in GraceError.js and may be the source of the confusion.

Of course I may just not understand.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant