From 77ed7478ebd4df47f972e8a27051048d451f4b8f Mon Sep 17 00:00:00 2001 From: multipliedtwice Date: Fri, 9 Aug 2024 17:33:20 +0700 Subject: [PATCH] fix: eport rbac error class --- src/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/index.ts b/src/index.ts index fc836c4..3983973 100644 --- a/src/index.ts +++ b/src/index.ts @@ -164,7 +164,7 @@ export function mapModelAlias( } // error -class RBACError extends Error { +export class RBACError extends Error { operation: string; status: number; model: string;