Type Alias HttpResponseCallback
HttpResponseCallback: (err: number | string | Error | null, response?: *
) => any Type declaration
- (err: number | string | Error | null, response?: *): any
Parameters
- err: number | string | Error | null
Optional
response: *
Returns any
The error code, message, or exception in the case where the request fails.