Remove unhelpful toString on APIError

This commit is contained in:
Marshall Polaris 2022-07-09 00:14:18 -07:00
parent 11d435a71e
commit 941c2f5961

View File

@ -10,9 +10,6 @@ export class APIError extends Error {
this.name = 'APIError'
this.details = details
}
toString() {
return this.name
}
}
export async function call(url: string, method: string, params: any) {