Optional
error?: anyOptional
headers?: HttpHeadersOptional
status?: numberOptional
statusOptional
url?: stringTypes for DRF error response.
Readonly
headersAll response headers.
Readonly
messageReadonly
nameReadonly
okErrors are never okay, even when the status code is in the 2xx success range.
Set this to true and use it in your sentry to prevent report.
Readonly
statusResponse status code.
Readonly
statusTextual description of response status code, defaults to OK.
Do not depend on this.
Readonly
typeType of the response, narrowed to either the full response or the header.
Readonly
urlURL of the resource retrieved, or null if not available.
Use this instead of the default one to have the new properties specific for DRF and sentry.