Module: Servus::Support::Errors
- Included in:
- Base
- Defined in:
- lib/servus/support/errors.rb
Overview
Contains all error classes used by Servus services.
All error classes inherit from ServiceError and provide:
- ServiceError#http_status for the HTTP response status
- ServiceError#api_error for the JSON response body
Defined Under Namespace
Classes: AuthenticationError, BadRequestError, ForbiddenError, GuardError, InternalServerError, NotFoundError, ServiceError, ServiceUnavailableError, UnauthorizedError, UnprocessableEntityError, ValidationError