Sha256: c7e37740c6414977f34f72515a3d78d3eec12c424895d66db5014223bdba8ef1

Contents?: true

Size: 403 Bytes

Versions: 1

Compression:

Stored size: 403 Bytes

Contents

# frozen_string_literal: true

module Zuora
  module Errors
    GenericError = Class.new(StandardError)

    class InvalidValue < GenericError
      attr_reader :response

      def initialize(msg = nil, response = nil)
        @response = response
        super(msg)
      end
    end

    class InvalidCredentials < GenericError
    end

    class SoapConnectionError < GenericError
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
zuora-ruby-0.7.0 lib/zuora/errors.rb