Sha256: 1fbfdc0322ff25a127117868969380dead2a3c40a5a98c0f46b46507d4845fc3
Contents?: true
Size: 387 Bytes
Versions: 1
Compression:
Stored size: 387 Bytes
Contents
module Leadlight class Error < StandardError; end class CredentialsRequiredError < Error; end class HttpError < Error attr_reader :response def initialize(response) @response = response super("HTTP Error #{response.status}") end end class ClientError < HttpError; end class ResourceNotFound < ClientError; end class ServerError < HttpError; end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
leadlight-0.0.2 | lib/leadlight/errors.rb |