experience-error-handling.html

Standardized, informative error responses across every operation.

51 rules experience: error-handling 48 inlined · 3 from the engine

Run this ruleset

Lint any matching artifact against this ruleset with the Spotlight CLI:

npm i -g @spotlight-rules/spotlight-cli
spotlight lint api.yaml \
  --ruleset https://apicommons.org/assets/rulesets/experience-error-handling.spotlight.yaml

Or load it into the browser validator, post it to the HTTP API, or wire it into a CI gate. 3 of these rules are the engine's built-ins (they come with spotlight:*); the other 48 are inlined in the file below.

Ruleset definition

Download YAML

Loading…

Rules in this ruleset (51)


← All experience rulesets