src/modules/http/entities/error/http-error-wrapper.entity.intf.ts
This class is used by the StarkHttpService in order to wrap the Http error in case of failure of any type of request, either single item or collection request.
Properties |
httpError |
httpError:
|
Type : StarkHttpError
|
Contains all the information about the Http error in case of failure of any type of request performed by the StarkHttpService. |
import { StarkHttpResponse } from "../response";
import { StarkHttpError } from "./http-error.entity.intf";
/**
* This class is used by the {@link StarkHttpService} in order to wrap the Http error in
* case of failure of any type of request, either single item or collection request.
*/
export interface StarkHttpErrorWrapper extends StarkHttpResponse {
/**
* Contains all the information about the Http error in case of
* failure of any type of request performed by the {@link StarkHttpService}.
*/
httpError: StarkHttpError;
}