Exception: WsdlMapper::Runtime::Errors::HTTPError
- Inherits:
-
Error
- Object
- StandardError
- Error
- WsdlMapper::Runtime::Errors::HTTPError
- Defined in:
- lib/wsdl_mapper/runtime/errors.rb
Instance Attribute Summary (collapse)
-
- (Object) request
readonly
Returns the value of attribute request.
-
- (Object) status
readonly
Returns the value of attribute status.
Attributes inherited from Error
Instance Method Summary (collapse)
-
- (HTTPError) initialize(status, msg, cause = $!, request = nil)
constructor
A new instance of HTTPError.
Constructor Details
- (HTTPError) initialize(status, msg, cause = $!, request = nil)
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
- (Object) request (readonly)
Returns the value of attribute request
23 24 25 |
# File 'lib/wsdl_mapper/runtime/errors.rb', line 23 def request @request end |
- (Object) status (readonly)
Returns the value of attribute status
23 24 25 |
# File 'lib/wsdl_mapper/runtime/errors.rb', line 23 def status @status end |