-
Notifications
You must be signed in to change notification settings - Fork 494
Open
Description
Hi,
Error message triggered by library should be a string, not an object.
The following code is the cause of the problem :
/* Other type of error, or unhandled Web API error format */
return new WebapiError(response.body, response.headers, response.statusCode, response.body);
class WebapiError extends NamedError {
constructor(body, headers, statusCode, message) {
super(message);
this.body = body;
this.headers = headers;
this.statusCode = statusCode;
}
Metadata
Metadata
Assignees
Labels
No labels