Sha256: 1435725d9e9779b70c2d116b18195c1e7245c3c2201426d6835573986bfb4b77

Contents?: true

Size: 327 Bytes

Versions: 2

Compression:

Stored size: 327 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-3.0.0 lib/mistral_client/error.rb
mistral_client-2.0.0 lib/mistral_client/error.rb