big update - fully functional
This commit is contained in:
8
dashboard/src/errors.ts
Normal file
8
dashboard/src/errors.ts
Normal file
@@ -0,0 +1,8 @@
|
||||
export class ClayPIDashboardError extends Error {
|
||||
displayMessage: string;
|
||||
constructor(message: string, displayMessage?: string) {
|
||||
super(message);
|
||||
this.name = "ClayPIError";
|
||||
this.displayMessage = displayMessage ?? message;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user