File

src/modules/http/entities/error/http-error-wrapper.entity.intf.ts

Description

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.

Extends

StarkHttpResponse

Index

Properties

Properties

httpError
httpError: StarkHttpError
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;
}

results matching ""

    No results matching ""