A rejection, carrying the individual failures behind it when there were
several.
errors is optional because a config write can be refused two ways. The
store's own validation reports every failed check; a request that does not
match the route schema is refused before the store sees it, and has only the
one thing to say. Requiring errors makes that second case unserialisable,
which turns a plain rejection into a 500.
A rejection, carrying the individual failures behind it when there were several.
errorsis optional because a config write can be refused two ways. The store's own validation reports every failed check; a request that does not match the route schema is refused before the store sees it, and has only the one thing to say. Requiringerrorsmakes that second case unserialisable, which turns a plain rejection into a 500.