Exception: Deltacloud::Validation::Failure
- Inherits:
-
StandardError
- Object
- StandardError
- Deltacloud::Validation::Failure
- Defined in:
- lib/deltacloud/validation.rb
Instance Attribute Summary collapse
-
#param ⇒ Object
readonly
Returns the value of attribute param.
Instance Method Summary collapse
-
#initialize(param, msg = '') ⇒ Failure
constructor
A new instance of Failure.
- #name ⇒ Object
Constructor Details
#initialize(param, msg = '') ⇒ Failure
Returns a new instance of Failure.
5 6 7 8 |
# File 'lib/deltacloud/validation.rb', line 5 def initialize(param, msg='') super(msg) @param = param end |
Instance Attribute Details
#param ⇒ Object (readonly)
Returns the value of attribute param.
4 5 6 |
# File 'lib/deltacloud/validation.rb', line 4 def param @param end |
Instance Method Details
#name ⇒ Object
10 11 12 |
# File 'lib/deltacloud/validation.rb', line 10 def name param.name end |