Initial commit
This commit is contained in:
7
packages/core-consent/src/entities/errors/consent.ts
Normal file
7
packages/core-consent/src/entities/errors/consent.ts
Normal file
@@ -0,0 +1,7 @@
|
||||
export class UnauthenticatedError extends Error {
|
||||
constructor(message = "Not authenticated") {
|
||||
super(message);
|
||||
this.name = "UnauthenticatedError";
|
||||
Object.setPrototypeOf(this, UnauthenticatedError.prototype);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user