Exception: WsdlMapper::Runtime::Errors::HTTPError
- Defined in:
- lib/wsdl_mapper/runtime/errors.rb
Instance Attribute Summary collapse
-
#request ⇒ Object
readonly
Returns the value of attribute request.
-
#status ⇒ Object
readonly
Returns the value of attribute status.
Attributes inherited from Error
Instance Method Summary collapse
-
#initialize(status, msg, cause = $!, request = nil) ⇒ HTTPError
constructor
A new instance of HTTPError.
Constructor Details
#initialize(status, msg, cause = $!, request = nil) ⇒ HTTPError
Returns a new instance of HTTPError.
25 26 27 28 29 |
# File 'lib/wsdl_mapper/runtime/errors.rb', line 25 def initialize(status, msg, cause = $!, request = nil) super("[#{status}] #{msg}", cause) @status = status @request = request end |
Instance Attribute Details
#request ⇒ Object (readonly)
Returns the value of attribute request.
23 24 25 |
# File 'lib/wsdl_mapper/runtime/errors.rb', line 23 def request @request end |
#status ⇒ Object (readonly)
Returns the value of attribute status.
23 24 25 |
# File 'lib/wsdl_mapper/runtime/errors.rb', line 23 def status @status end |