Reference

Exceptions

Every exception the package throws, and when.

Every exception implements Ark4ne\ApiRevisions\Exceptions\RevisionsException, in the namespace Ark4ne\ApiRevisions\Exceptions\.

ExceptionThrown on
DefinitionExceptiona programming error in a declaration; the check reports it as definition-error
ConfigurationExceptionan invalid config/revisions.php, or a tagged check that is not a Check
UnknownRevisionExceptiona revision the API does not know; the middleware answers it 400
ValueExceptiona value the rendering cannot produce, when strict_values is on
ConversionExceptiona value a conversion cannot convert; in a request, a validation error on the client's key
InvalidInputExceptionan input the upgrade rejects, rendered as a validation error
LockExceptiona lock file that cannot be read or written
CacheExceptionthe compiled shapes file that cannot be read or written