Sha256: 4968a8d1965504694cfc1de30b645c0592e708236e5f155c2cf9fd77c60a6233

Contents?: true

Size: 325 Bytes

Versions: 2

Compression:

Stored size: 325 Bytes

Contents

module MistralClient
  class MistralError < StandardError; end

  class ConfigurationError < MistralError; end
  class MissingObjectError < MistralError; end
  class MistralResponseError < MistralError
    attr_reader :response

    def initialize(response)
      @response = response
      super(response)
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
mistral_client-1.3.0 lib/mistral_client/error.rb
mistral_client-1.2.1 lib/mistral_client/error.rb