Exception: WashOut::Dispatcher::SOAPError
- Inherits:
-
Exception
- Object
- Exception
- WashOut::Dispatcher::SOAPError
- Defined in:
- lib/wash_out/dispatcher.rb
Overview
A SOAPError exception can be raised to return a correct SOAP error response.
Instance Attribute Summary collapse
-
#code ⇒ Object
Returns the value of attribute code.
Instance Method Summary collapse
-
#initialize(message, code = nil) ⇒ SOAPError
constructor
A new instance of SOAPError.
Constructor Details
#initialize(message, code = nil) ⇒ SOAPError
Returns a new instance of SOAPError.
10 11 12 13 |
# File 'lib/wash_out/dispatcher.rb', line 10 def initialize(, code=nil) super() @code = code end |
Instance Attribute Details
#code ⇒ Object
Returns the value of attribute code.
9 10 11 |
# File 'lib/wash_out/dispatcher.rb', line 9 def code @code end |