Exception: PipeLineDealer::Error::NoSuchCustomField
- Inherits:
-
PipeLineDealer::Error
- Object
- Exception
- PipeLineDealer::Error
- PipeLineDealer::Error::NoSuchCustomField
- Defined in:
- lib/pipe_line_dealer/error/no_such_custom_field.rb
Instance Attribute Summary collapse
-
#name ⇒ Object
readonly
Returns the value of attribute name.
Attributes inherited from PipeLineDealer::Error
Instance Method Summary collapse
-
#initialize(name) ⇒ NoSuchCustomField
constructor
A new instance of NoSuchCustomField.
Methods inherited from PipeLineDealer::Error
Constructor Details
#initialize(name) ⇒ NoSuchCustomField
Returns a new instance of NoSuchCustomField.
6 7 8 9 |
# File 'lib/pipe_line_dealer/error/no_such_custom_field.rb', line 6 def initialize(name) @name = name @message = "Could not find a custom field with the name #{name.inspect}" end |
Instance Attribute Details
#name ⇒ Object (readonly)
Returns the value of attribute name.
4 5 6 |
# File 'lib/pipe_line_dealer/error/no_such_custom_field.rb', line 4 def name @name end |