Skip to content
This repository has been archived by the owner on Oct 15, 2024. It is now read-only.

Commit

Permalink
decisions: also be strict about specifications
Browse files Browse the repository at this point in the history
  • Loading branch information
Markus Raab committed Nov 23, 2020
1 parent f5eef7b commit 4e894a3
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions doc/decisions/error_semantics.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ unclear when plugins actually should emit errors and warnings.
Provide guidelines in the form as tutorials, covering:

- that any not understood metadata (e.g. types), should lead to an error
- that wrong specifications, like `kdb meta-set /tests/ipaddr/ipv4 check/ipaddr ipv8` should be rejected
- if the value does not confirm **exactly** to the specified type, an error should be emitted
(e.g. only `0` or `1` as boolean)
- anything else that is beyond the capabilities of a plugin, should lead to an error, e.g.:
Expand Down

0 comments on commit 4e894a3

Please sign in to comment.