Skip to main content
zerotal

Documentation


Documentation / @zerotal/core / index / ConflictError

Class: ConflictError

Defined in: errors/HttpError.ts:63

409 Conflict — the request conflicts with the current state of the resource.

Extends

Constructors

Constructor

new ConflictError(message?): ConflictError

Defined in: errors/HttpError.ts:64

Parameters

message?

string = "Conflict"

Returns

ConflictError

Overrides

HttpError.constructor

Properties

headers?

optional headers?: Record<string, string>

Defined in: errors/HttpError.ts:15

Inherited from

HttpError.headers


code

readonly code: string

Defined in: errors/ZerotalError.ts:18

Inherited from

HttpError.code


status

readonly status: number = 500

Defined in: errors/ZerotalError.ts:19

Inherited from

HttpError.status


context?

readonly optional context?: Record<string, unknown>

Defined in: errors/ZerotalError.ts:20

Inherited from

HttpError.context