File

src/api/error.ts

Description

All backend communication that results in an error is converted into an error instance of this type, if the response body was recognized as such. The original error is also attached for additional information about the error. Typically the original error would be Angular's HttpErrorResponse, however different backend implementations could opt to return a different kind of error.

Extends

BlueriqError

Index

Properties

Constructor

constructor(cause: ErrorResponse, originalError?: any)
Parameters :
Name Type Optional
cause ErrorResponse No
originalError any Yes

Properties

Public Readonly cause
cause: ErrorResponse
Type : ErrorResponse
Public Readonly Optional originalError
originalError: any
Type : any

result-matching ""

    No results matching ""