Exception: Streama::Errors::InvalidData
- Inherits:
-
StreamaError
- Object
- StandardError
- StreamaError
- Streama::Errors::InvalidData
- Defined in:
- lib/streama/errors.rb
Overview
This error is raised when an object isn’t defined as an actor, object or 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.
20 21 22 |
# File 'lib/streama/errors.rb', line 20 def initialize @message = "Invalid Data: #{}" end |
Instance Attribute Details
#message ⇒ Object (readonly)
Returns the value of attribute message.
18 19 20 |
# File 'lib/streama/errors.rb', line 18 def @message end |