Sha256: 2acf766fb01d839e60b92792d22034dc6e7d2a8bdc31aaed310dac2a3d13f62a
Contents?: true
Size: 486 Bytes
Versions: 7
Compression:
Stored size: 486 Bytes
Contents
# This module holds all errors for the gem. module Sumo::Error # This class is never thrown but can be used to catch all errors thrown in the # gem. class BaseError < StandardError; end # This is raised when credentials cannot be found. class NoCredsFound < BaseError; end # Raised when a 4xx-level response is returned by the API. class ClientError < BaseError; end # Raised when a 5xx-level response is returned by the API. class ServerError < BaseError; end end
Version data entries
7 entries across 7 versions & 1 rubygems