Sha256: 28f5fb8d75507a4846ac8de4ed2e8f73abf4285b4dcbfd752ae42754a9ff0e1b

Contents?: true

Size: 415 Bytes

Versions: 1

Compression:

Stored size: 415 Bytes

Contents

module WashOut
  #
  # An exception reflecting expected logical error
  #
  # Such exception (or its descendants) will be intercepted and rendered
  # into proper SOAP error XML response.
  #
  class SOAPError < Exception
    attr_accessor :code

    def initialize(message, code=nil)
      super(message)
      @code = code
    end
  end
end

# Backward compatibility hack
class SOAPError < WashOut::SOAPError; end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
wash_out-0.10.0.beta.1 lib/wash_out/exceptions/soap_error.rb