Exception: WsdlMapper::Deserializers::Errors::UnknownError
- Inherits:
-
StandardError
- Object
- StandardError
- WsdlMapper::Deserializers::Errors::UnknownError
- Defined in:
- lib/wsdl_mapper/deserializers/errors.rb
Direct Known Subclasses
UnknownAttributeError, UnknownElementError, UnknownTypeError
Instance Attribute Summary (collapse)
-
- (Object) name
readonly
Returns the value of attribute name.
-
- (Object) parent
Returns the value of attribute parent.
Instance Method Summary (collapse)
-
- (UnknownError) initialize(name)
constructor
A new instance of UnknownError.
- - (Object) to_s
Constructor Details
- (UnknownError) initialize(name)
Returns a new instance of UnknownError
8 9 10 11 |
# File 'lib/wsdl_mapper/deserializers/errors.rb', line 8 def initialize(name) @name = name super "Unknown: #{name}" end |
Instance Attribute Details
- (Object) name (readonly)
Returns the value of attribute name
5 6 7 |
# File 'lib/wsdl_mapper/deserializers/errors.rb', line 5 def name @name end |
- (Object) parent
Returns the value of attribute parent
6 7 8 |
# File 'lib/wsdl_mapper/deserializers/errors.rb', line 6 def parent @parent end |
Instance Method Details
- (Object) to_s
13 14 15 |
# File 'lib/wsdl_mapper/deserializers/errors.rb', line 13 def to_s "Unknown: #{name} in #{parent}" end |