3a7182bfb5
* wip * wip * wip * wip * wip * wip * wip * wip * wip * wip * fix * Update SignupApiService.ts * wip * wip * Update ClientServerService.ts * wip * wip * wip * Update WellKnownServerService.ts * wip * wip * update des * wip * Update ApiServerService.ts * wip * update deps * Update WellKnownServerService.ts * wip * update deps * Update ApiCallService.ts * Update ApiCallService.ts * Update ApiServerService.ts
12 lines
314 B
TypeScript
12 lines
314 B
TypeScript
// https://www.fastify.io/docs/latest/Reference/Reply/#async-await-and-promises
|
|
export class FastifyReplyError extends Error {
|
|
public message: string;
|
|
public statusCode: number;
|
|
|
|
constructor(statusCode: number, message: string) {
|
|
super(message);
|
|
this.message = message;
|
|
this.statusCode = statusCode;
|
|
}
|
|
}
|