Exception | Description |
---|---|
AppException |
Generic fatal exception that is the fault of the application creator and will generate a 500 error
|
ClientException |
The end user did something wrong and needs to correct their request.
|
CommandException |
An exception for when a command line action fails due to something correctable
by the user.
|
ConfigException |
Used when there is a missing or invalid setting, preventing Stallion from running properly
|
DecryptionException |
An error when decrypting a string usering utils.Encrypter
|
ExternalException |
Fatal exception caused by accessing an external service.
|
JsonMappingException | |
JsonWriteException | |
NotFoundException |
Short circuits the request and returns a 404 error with the given message.
|
RedirectException |
Short circuits the request and returns a 302 redirect.
|
UsageException |
Used when a plugin writer or some developer using Stallion makes a mistake
|
ValidationException |
Thrown when a method is passed in data that is not valid in some way.
|
WebException |
Generic web exception that will generate a 4xx or 5xx response to the client with a user friendly message.
|
Copyright © 2016. All rights reserved.