Module: Poms::Errors

Defined in:
lib/poms/errors.rb

Constant Summary collapse

PomsError =

Generic Poms error that all other errors inherit from. This allows you to rescue any exception from this library in your application code.

Class.new(StandardError)
AuthenticationError =

Custom Error class to signal missing authorization attributes

Class.new(PomsError)
HttpError =

Base exception for all Poms-specific HTTP errors.

Class.new(PomsError)
HttpMissingError =

Wrapper exception for dealing with driver-agnostic 404 responses.

Class.new(HttpError)
HttpServerError =

Wrapper exception for dealing with driver-agnostic 500 responses.

Class.new(HttpError)
MissingConfigurationError =

Custom error than can be used to indicate a required configuration value is missing.

Class.new(PomsError)
NotConfigured =

Custom error to indicate that the gem has not been configured at all.

Class.new(PomsError)