Sha256: 4de6270e504c960e2de19f20f64616e6431409221c71ff870e471ea14075a944

Contents?: true

Size: 316 Bytes

Versions: 3

Compression:

Stored size: 316 Bytes

Contents

module Sagamore
  class Client
    ##
    # API request failure
    class RequestFailed < RuntimeError
      attr_accessor :response
    end

    ##
    # Authorization failure
    class AuthFailed < RequestFailed; end

    ##
    # Error parsing the response body
    class BodyError < RequestFailed; end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
sagamore-client-3.0.3 lib/sagamore/client/errors.rb
sagamore-client-3.0.2 lib/sagamore/client/errors.rb
sagamore-client-3.0.1 lib/sagamore/client/errors.rb