diff --git a/packages/casl-ability/src/ForbiddenError.ts b/packages/casl-ability/src/ForbiddenError.ts index ff455503d..6eeb8eef0 100644 --- a/packages/casl-ability/src/ForbiddenError.ts +++ b/packages/casl-ability/src/ForbiddenError.ts @@ -30,7 +30,7 @@ export class ForbiddenError extends NativeError { return new this(ability); } - private constructor(ability: T) { + constructor(ability: T) { super(''); this.ability = ability;