breeze-client / ProblemTypes
Variable: ProblemTypes
constProblemTypes:object
Defined in: src/manager/entity-manager.ts:114
The RFC 9457 type URIs a Breeze server sends on ServerError.problemType.
A problem type is a stable identifier for a kind of failure, which is what a status code often is not: 409 covers both a concurrency conflict and a duplicate key, and the two call for different recovery.
Type Declaration
concurrencyConflict
readonlyconcurrencyConflict:"https://breeze.github.io/problems/concurrency-conflict"="https://breeze.github.io/problems/concurrency-conflict"
A row was changed or deleted by someone else after this client read it.
entityErrors
readonlyentityErrors:"https://breeze.github.io/problems/entity-errors"="https://breeze.github.io/problems/entity-errors"
The save was rejected by validation; see entityErrors.
serverError
readonlyserverError:"https://breeze.github.io/problems/server-error"="https://breeze.github.io/problems/server-error"
An unhandled exception on the server.