File

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

Description

This class contains all the information about the Http error in case of failure of any type of request performed by the StarkHttpService and it is wrapped in a StarkHttpErrorWrapper.

Extends

StarkHttpErrorBase

Index

Properties

Properties

errors
errors: StarkHttpErrorDetail[]
Type : StarkHttpErrorDetail[]

An array of StarkHttpErrorDetail objects containing all the information about the Http error.

import { StarkHttpErrorBase } from "./http-error-base.entity.intf";
import { StarkHttpErrorDetail } from "./http-error-detail.entity.intf";

/**
 * This class contains all the information about the Http error in case of failure of
 * any type of request performed by the {@link StarkHttpService} and it is wrapped in a {@link StarkHttpErrorWrapper}.
 */
export interface StarkHttpError extends StarkHttpErrorBase {
	/**
	 * An array of {@link StarkHttpErrorDetail} objects containing all the information about the Http error.
	 */
	errors: StarkHttpErrorDetail[];
}

results matching ""

    No results matching ""