| 1 | const BaseError = require("./base.error"); |
| 2 | |
| 3 | class APIError extends BaseError { |
| 4 | constructor(name , httpStatusCode , description , isOperational){ |
| 5 | super(name , httpStatusCode , description , isOperational) |
| 6 | } |
| 7 | } |
| 8 | |
| 9 | module.exports = APIError |
nothing calls this directly
no outgoing calls
no test coverage detected