Exception: MergingQueue::InvalidData
- Inherits:
-
MergingQueueError
- Object
- StandardError
- MergingQueueError
- MergingQueue::InvalidData
- Defined in:
- lib/merging-queue/errors.rb
Overview
This error is raised when an act_object isn’t defined as an actor, act_object or act_target
Example:
InvalidField.new('field_name')
Instance Attribute Summary collapse
-
#message ⇒ Object
readonly
Returns the value of attribute message.
Instance Method Summary collapse
-
#initialize(message) ⇒ InvalidData
constructor
A new instance of InvalidData.
Constructor Details
#initialize(message) ⇒ InvalidData
Returns a new instance of InvalidData.
18 19 20 |
# File 'lib/merging-queue/errors.rb', line 18 def initialize = "Invalid Data: #{message}" end |
Instance Attribute Details
#message ⇒ Object (readonly)
Returns the value of attribute message.
16 17 18 |
# File 'lib/merging-queue/errors.rb', line 16 def end |