MCPcopy Create free account
hub / github.com/ahmedemad3/nodejs-apps / APIError

Class APIError

error/api.error.js:3–7  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1const BaseError = require("./base.error");
2
3class APIError extends BaseError {
4 constructor(name , httpStatusCode , description , isOperational){
5 super(name , httpStatusCode , description , isOperational)
6 }
7}
8
9module.exports = APIError

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected