Sha256: 1abbe3c920d2760cb609d09abf0dbd757920d36d9f9a93e47fe187bcb7a2aabb

Contents?: true

Size: 281 Bytes

Versions: 1

Compression:

Stored size: 281 Bytes

Contents

module RiskalyzeAPI
  class RiskalyzeAPIError < StandardError
    attr_reader :request

    def initialize(msg, request)
      @request = request
      super msg
    end
  end

  class RequestError < RiskalyzeAPIError
  end

  class AuthorizationError < RiskalyzeAPIError
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
riskalyze_api-0.2.0 lib/riskalyze_api/errors.rb