big update - fully functional

This commit is contained in:
Daniel Ledda
2021-03-21 16:19:52 +01:00
parent 50362860ae
commit 5466b8d2bb
25 changed files with 824 additions and 461 deletions

8
dashboard/src/errors.ts Normal file
View 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;
}
}