DomainErrorHttpStatus
Defined in: packages/ddd-core/http/domain-error-http-status.ts:9
HTTP answer for a DomainException, as plain values.
Properties
Section titled “Properties”
readonlyerror:string
Defined in: packages/ddd-core/http/domain-error-http-status.ts:13
Reason phrase of statusCode, such as 'Conflict'.
message
Section titled “message”
readonlymessage:string
Defined in: packages/ddd-core/http/domain-error-http-status.ts:18
Message safe to return to the caller: the exception’s own message, or a generic one when the exception message is meant for developers.
statusCode
Section titled “statusCode”
readonlystatusCode:number
Defined in: packages/ddd-core/http/domain-error-http-status.ts:11
HTTP status code.