mirror of
https://github.com/oceanprotocol/ocean.js.git
synced 2024-11-26 20:39:05 +01:00
add error file
This commit is contained in:
parent
585cf53b69
commit
809b9bc2a3
3
src/utils/ErrorHandling.ts
Normal file
3
src/utils/ErrorHandling.ts
Normal file
@ -0,0 +1,3 @@
|
||||
export function getErrorMessage(resource: string, message: string): string {
|
||||
return `${message} has failed for the following component: ${resource}`
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user