Sha256: ec1564089c94b1b5adeadde4abdaadbd1e7b0c4af5481590a76f253df691a6db
Contents?: true
Size: 613 Bytes
Versions: 4
Compression:
Stored size: 613 Bytes
Contents
# This module acts as a namespace for all errors thrown in the gem. module Sumo::Error # This error is never raised, but instead used to catch all other errors that # may be raised. class BaseError < StandardError; end # Raised when an unexpected type is passed to a method. class TypeError < BaseError; end # This error is raised when no credentials can be found. class NoCredsFound < BaseError; end # This error is raised when there is an error on a request. class RequestError < BaseError; end # This error is raised when a parsing error occurs. class ParseError < BaseError; end end
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
sumo-search-0.1.1 | lib/sumo/error.rb |
sumo-search-0.1.0 | lib/sumo/error.rb |
sumo-search-0.0.2 | lib/sumo/error.rb |
sumo-search-0.0.1 | lib/sumo/error.rb |