We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
NotFound
NotFoundError
1 parent b85d5ba commit c96da45Copy full SHA for c96da45
src/index.js
@@ -1,4 +1,4 @@
1
export { HTTPError } from "./http";
2
export { AccessDeniedError } from "./access-denied";
3
export { BadRequestError } from "./bad-request";
4
-export { NotFound } from "./not-found";
+export { NotFoundError } from "./not-found";
src/not-found.js
@@ -2,7 +2,7 @@
import { HTTPError } from "./http";
5
-export class NotFound extends HTTPError {
+export class NotFoundError extends HTTPError {
6
constructor( message, extra ) {
7
super( 404, message || "Not Found", extra );
8
}
0 commit comments