Μετάβαση στο περιεχόμενο
Από την έκδοση 0.5.0 τα πακέτα συνεχίζουν ως @cqrs-ddd, με τεκμηρίωση στο aristoteliss.github.io/ddd-cqrs· οι εφαρμογές NestJS προσθέτουν το @cqrs-ddd/nestjs. Αυτός ο ιστότοπος τεκμηριώνει τη σειρά 0.4.x.

DomainErrorHttpStatus

Αυτό το περιεχόμενο δεν είναι ακόμη διαθέσιμο στη γλώσσα σου.

Defined in: packages/ddd-core/http/domain-error-http-status.ts:9

HTTP answer for a DomainException, as plain values.

readonly error: string

Defined in: packages/ddd-core/http/domain-error-http-status.ts:13

Reason phrase of statusCode, such as 'Conflict'.


readonly message: 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.


readonly statusCode: number

Defined in: packages/ddd-core/http/domain-error-http-status.ts:11

HTTP status code.