diff --git a/src/utils/ErrorHandling.ts b/src/utils/ErrorHandling.ts new file mode 100644 index 00000000..c8af85c9 --- /dev/null +++ b/src/utils/ErrorHandling.ts @@ -0,0 +1,3 @@ +export function getErrorMessage(resource: string, message: string): string { + return `${message} has failed for the following component: ${resource}` +}