Bug 29772: (follow-up) Document error codes
Signed-off-by: David Nind <david@davidnind.com> Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org> Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
This commit is contained in:
parent
82c32a1aa5
commit
cf86a5554d
|
|
@ -567,7 +567,13 @@
|
|||
schema:
|
||||
$ref: ../definitions.yaml#/error
|
||||
"409":
|
||||
description: Conflict
|
||||
description: |
|
||||
Conflict. Possible `error_code` attribute values:
|
||||
|
||||
* `has_checkouts`: The patron has pending checkouts
|
||||
* `has_debt`: The patron has pending debts
|
||||
* `has_guarantees`: The patron has guarantees
|
||||
* `is_anonymous_patron`: The system-wide anonymous patron cannot be deleted
|
||||
schema:
|
||||
$ref: ../definitions.yaml#/error
|
||||
"500":
|
||||
|
|
|
|||
Loading…
Reference in New Issue