Skip to content

Commit

Permalink
Merge pull request #368 from nelson6e65/patch-2
Browse files Browse the repository at this point in the history
feat: export `JsonApiError` class
  • Loading branch information
spersico authored Nov 6, 2023
2 parents 1d095a1 + 3467aa6 commit 1208c06
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ import {
ifUserHasRole as IfUserHasRole,
} from "./decorators/if-user";
import JsonApiErrors from "./errors/json-api-errors";
import JsonApiError from "./errors/error";
import jsonApiKoa from "./middlewares/json-api-koa";
import jsonApiExpress from "./middlewares/json-api-express";
import jsonApiWebSocket from "./middlewares/json-api-websocket";
Expand All @@ -38,6 +39,7 @@ export {
ApplicationInstance,
KnexProcessor,
JsonApiErrors,
JsonApiError,
OperationProcessor,
JsonApiSerializer,
// Middlewares
Expand Down

0 comments on commit 1208c06

Please sign in to comment.