crm-api-template-generator/backend/errors/index.js

17 lines
468 B
JavaScript
Raw Normal View History

2023-11-29 20:05:48 +00:00
const CustomAPIError = require('./custom-api');
const UnauthenticatedError = require('./unauthenticated');
const NotFoundError = require('./not-found');
const BadRequestError = require('./bad-request');
const UnauthorizedError = require('./unauthorized');
const InternalServerError = require('./internal-server-error');
module.exports = {
CustomAPIError,
UnauthenticatedError,
NotFoundError,
BadRequestError,
UnauthorizedError,
InternalServerError
};