Skip to content

breeze-client / ProblemTypes

Variable: ProblemTypes ​

const ProblemTypes: 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 ​

readonly concurrencyConflict: "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 ​

readonly entityErrors: "https://breeze.github.io/problems/entity-errors" = "https://breeze.github.io/problems/entity-errors"

The save was rejected by validation; see entityErrors.

serverError ​

readonly serverError: "https://breeze.github.io/problems/server-error" = "https://breeze.github.io/problems/server-error"

An unhandled exception on the server.

Released under the MIT License.