context/exception/default_exceptions library
Exceptions / Errors
- ApiException
- Base exception
- BadRequestException
- exception for 400
- ConflictException
- exception for 409
- ForbiddenException
- exception for 401
- InternalServerErrorException
- exception for 500
- NotFoundException
- exception for 404
- PaymentRequiredException
- exception for 402
- ResponseException
- Special exception to break up any current flow and return this instead
- exception for 403
- UnprocessableEntityException
- Validation exception 422
- ValidationException