Ghost/core/server/web/shared/middleware
Sam Lord 2887e416da
Switch to @tryghost/errors from ignition errors package (#13807)
refs: TryGhost/Toolbox#147

* Replaces all references to isIgnitionError with isGhostError
* Switches use of GhostError to InternalServerError - as GhostError is no longer public
There are places where InternalServerError is not the valid error, and new errors should be added to the @tryghost/errors package to ensure that we can use semantically correct errors in those cases.
2021-12-01 10:22:01 +00:00
..
api Renamed middlewares to middleware consistently 2021-11-16 15:51:47 +00:00
brute.js Renamed middlewares to middleware consistently 2021-11-16 15:51:47 +00:00
cache-control.js Renamed middlewares to middleware consistently 2021-11-16 15:51:47 +00:00
error-handler.js Switch to @tryghost/errors from ignition errors package (#13807) 2021-12-01 10:22:01 +00:00
index.js Merged our two maintenance middleware into one 2021-11-24 11:27:18 +00:00
pretty-urls.js Renamed middlewares to middleware consistently 2021-11-16 15:51:47 +00:00
uncapitalise.js Renamed middlewares to middleware consistently 2021-11-16 15:51:47 +00:00
url-redirects.js Renamed middlewares to middleware consistently 2021-11-16 15:51:47 +00:00