Skip to content

Commit

Permalink
feat: export JsonApiError class
Browse files Browse the repository at this point in the history
  • Loading branch information
nelson6e65 authored Nov 6, 2023
1 parent 1d095a1 commit 3467aa6
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 3467aa6

Please sign in to comment.