Skip to main content

Class: ConflictError

http.ConflictError

Extendable error class used inside Foscia.

Hierarchy​

Constructors​

constructor​

• new ConflictError(request, response)

Parameters​

NameType
requestHttpRequest
responseResponse

Inherited from​

InvalidRequestError.constructor

Defined in​

src/http/errors/responseError.ts:7

Properties​

cause​

• Optional cause: unknown

Inherited from​

InvalidRequestError.cause

Defined in​

website/node_modules/.pnpm/typescript@5.2.2/node_modules/typescript/lib/lib.es2022.error.d.ts:24


message​

• message: string

Inherited from​

InvalidRequestError.message

Defined in​

website/node_modules/.pnpm/typescript@5.2.2/node_modules/typescript/lib/lib.es5.d.ts:1068


name​

• name: string

Inherited from​

InvalidRequestError.name

Defined in​

website/node_modules/.pnpm/typescript@5.2.2/node_modules/typescript/lib/lib.es5.d.ts:1067


request​

• request: HttpRequest

Inherited from​

InvalidRequestError.request

Defined in​

src/http/errors/httpAdapterError.ts:5


response​

• response: Response

Inherited from​

InvalidRequestError.response

Defined in​

src/http/errors/responseError.ts:5


stack​

• Optional stack: string

Inherited from​

InvalidRequestError.stack

Defined in​

website/node_modules/.pnpm/typescript@5.2.2/node_modules/typescript/lib/lib.es5.d.ts:1069