* remove barrel export for client * fix more imports * remove server barrel * remove more barrel exporst and fix tssconfig * fix types * fix imports for removed barrels * fig ssg createserverside helpers * restore lock * new yarn lock * remove barel exports * remove barrel * replace client with react in tsconfig * fix yarn lock * Update exports for trpc to not be types * add ENDPOINTS export to the correct location * other exports fixes lost due to barrel * fix client error export * more imports --------- Co-authored-by: hbjORbj <sldisek783@gmail.com> Co-authored-by: Keith Williams <keithwillcode@gmail.com>
42 lines
1.3 KiB
TypeScript
42 lines
1.3 KiB
TypeScript
export class CalendarAppError extends Error {
|
|
constructor(message: string) {
|
|
super(message);
|
|
this.name = "CalendarAppError";
|
|
}
|
|
}
|
|
|
|
export class CalendarAppDomainWideDelegationError extends CalendarAppError {
|
|
constructor(message: string) {
|
|
super(message);
|
|
this.name = "CalendarAppDomainWideDelegationError";
|
|
}
|
|
}
|
|
|
|
export class CalendarAppDomainWideDelegationConfigurationError extends CalendarAppDomainWideDelegationError {
|
|
constructor(message: string) {
|
|
super(message);
|
|
this.name = "CalendarAppDomainWideDelegationConfigurationError";
|
|
}
|
|
}
|
|
|
|
export class CalendarAppDomainWideDelegationInvalidGrantError extends CalendarAppDomainWideDelegationError {
|
|
constructor(message: string) {
|
|
super(message);
|
|
this.name = "CalendarAppDomainWideDelegationInvalidGrantError";
|
|
}
|
|
}
|
|
|
|
export class CalendarAppDomainWideDelegationClientIdNotAuthorizedError extends CalendarAppDomainWideDelegationConfigurationError {
|
|
constructor(message: string) {
|
|
super(message);
|
|
this.name = "CalendarAppDomainWideDelegationClientIdNotAuthorizedError";
|
|
}
|
|
}
|
|
|
|
export class CalendarAppDomainWideDelegationNotSetupError extends CalendarAppDomainWideDelegationConfigurationError {
|
|
constructor(message: string) {
|
|
super(message);
|
|
this.name = "CalendarAppDomainWideDelegationNotSetupError";
|
|
}
|
|
}
|