Ghost/core/server/errors
Hannah Wolfe 02199c6b02 Disambiguate between error code & status code
refs #6526

- Change our errors to use `statusCode` for the status code (like res.statusCode)
- Use statusCode for anything that's supposed to be the statusCode, rather than an error idenfier/code
- Update all the tests that check the key
- Route tests don't need fixing as the status codes are still returned correctly
2016-02-17 15:20:49 +00:00
..
bad-request-error.js Disambiguate between error code & status code 2016-02-17 15:20:49 +00:00
data-import-error.js Disambiguate between error code & status code 2016-02-17 15:20:49 +00:00
email-error.js Disambiguate between error code & status code 2016-02-17 15:20:49 +00:00
index.js Disambiguate between error code & status code 2016-02-17 15:20:49 +00:00
internal-server-error.js Disambiguate between error code & status code 2016-02-17 15:20:49 +00:00
method-not-allowed-error.js Disambiguate between error code & status code 2016-02-17 15:20:49 +00:00
no-permission-error.js Disambiguate between error code & status code 2016-02-17 15:20:49 +00:00
not-found-error.js Disambiguate between error code & status code 2016-02-17 15:20:49 +00:00
request-too-large-error.js Disambiguate between error code & status code 2016-02-17 15:20:49 +00:00
too-many-requests-error.js Disambiguate between error code & status code 2016-02-17 15:20:49 +00:00
unauthorized-error.js Disambiguate between error code & status code 2016-02-17 15:20:49 +00:00
unsupported-media-type-error.js Disambiguate between error code & status code 2016-02-17 15:20:49 +00:00
validation-error.js Disambiguate between error code & status code 2016-02-17 15:20:49 +00:00