Files
calendar/packages/lib/CalendarAppError.ts
T
MorganandGitHub 7a9ddf2194 chore: rename DWD to DelegationCredential (#19703)
* chore: rename DWD to DelegationCredential

* fixup! chore: rename DWD to DelegationCredential

* fixup! fixup! chore: rename DWD to DelegationCredential

* fixup! Merge branch 'main' into rename-domain-wide-delegation

* fixup! fixup! Merge branch 'main' into rename-domain-wide-delegation

* fixup! fixup! fixup! Merge branch 'main' into rename-domain-wide-delegation
2025-03-04 09:45:39 -03:00

42 lines
1.3 KiB
TypeScript

export class CalendarAppError extends Error {
constructor(message: string) {
super(message);
this.name = "CalendarAppError";
}
}
export class CalendarAppDelegationCredentialError extends CalendarAppError {
constructor(message: string) {
super(message);
this.name = "CalendarAppDelegationCredentialError";
}
}
export class CalendarAppDelegationCredentialConfigurationError extends CalendarAppDelegationCredentialError {
constructor(message: string) {
super(message);
this.name = "CalendarAppDelegationCredentialConfigurationError";
}
}
export class CalendarAppDelegationCredentialInvalidGrantError extends CalendarAppDelegationCredentialError {
constructor(message: string) {
super(message);
this.name = "CalendarAppDelegationCredentialInvalidGrantError";
}
}
export class CalendarAppDelegationCredentialClientIdNotAuthorizedError extends CalendarAppDelegationCredentialConfigurationError {
constructor(message: string) {
super(message);
this.name = "CalendarAppDelegationCredentialClientIdNotAuthorizedError";
}
}
export class CalendarAppDelegationCredentialNotSetupError extends CalendarAppDelegationCredentialConfigurationError {
constructor(message: string) {
super(message);
this.name = "CalendarAppDelegationCredentialNotSetupError";
}
}