src/api/error.ts
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.
BlueriqError
Properties |
|
constructor(cause: ErrorResponse, originalError?: any)
|
|||||||||
Parameters :
|
Public Readonly cause |
cause:
|
Type : ErrorResponse
|
Public Readonly Optional originalError |
originalError:
|
Type : any
|