0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-01-13 22:41:32 -05:00
ghost/core/server/errors
Fabian Becker b15f1daf5a Throw 405 - Method not allowed for api routes
closes #2757
- New error MethodNotAllowed
- Throw 405 if valid path but invalid method is used is apiRouter
- Adds api base tests
2015-06-15 09:43:39 +01:00
..
bad-request-error.js Rename error.type to error.errorType 2015-04-22 22:29:45 +02:00
data-import-error.js Rename error.type to error.errorType 2015-04-22 22:29:45 +02:00
email-error.js Rename error.type to error.errorType 2015-04-22 22:29:45 +02:00
index.js Throw 405 - Method not allowed for api routes 2015-06-15 09:43:39 +01:00
internal-server-error.js Rename error.type to error.errorType 2015-04-22 22:29:45 +02:00
method-not-allowed-error.js Throw 405 - Method not allowed for api routes 2015-06-15 09:43:39 +01:00
no-permission-error.js Rename error.type to error.errorType 2015-04-22 22:29:45 +02:00
not-found-error.js Rename error.type to error.errorType 2015-04-22 22:29:45 +02:00
request-too-large-error.js Rename error.type to error.errorType 2015-04-22 22:29:45 +02:00
unauthorized-error.js Rename error.type to error.errorType 2015-04-22 22:29:45 +02:00
unsupported-media-type-error.js Rename error.type to error.errorType 2015-04-22 22:29:45 +02:00
validation-error.js Rename error.type to error.errorType 2015-04-22 22:29:45 +02:00