Exception: Streama::Errors::InvalidField
- Inherits:
-
StreamaError
- Object
- StandardError
- StreamaError
- Streama::Errors::InvalidField
- Defined in:
- lib/streama/errors.rb
Overview
This error is raised when trying to store a field that doesn’t exist
Example:
InvalidField.new('field_name')
Instance Attribute Summary collapse
-
#message ⇒ Object
readonly
Returns the value of attribute message.
Instance Method Summary collapse
-
#initialize(message) ⇒ InvalidField
constructor
A new instance of InvalidField.
Constructor Details
#initialize(message) ⇒ InvalidField
Returns a new instance of InvalidField.
34 35 36 |
# File 'lib/streama/errors.rb', line 34 def initialize @message = "Invalid Field: #{}" end |
Instance Attribute Details
#message ⇒ Object (readonly)
Returns the value of attribute message.
32 33 34 |
# File 'lib/streama/errors.rb', line 32 def @message end |