Exception: Flydata::AgentInternalError
- Inherits:
-
AgentError
- Object
- StandardError
- AgentError
- Flydata::AgentInternalError
- Defined in:
- lib/flydata/errors.rb
Constant Summary collapse
- NO_VALID_TABLE_ERR =
101
- NO_DATA_ENTRY_ERR =
102
- UNKNOWN_ERR =
999
Instance Attribute Summary collapse
-
#code ⇒ Object
readonly
Returns the value of attribute code.
Attributes inherited from AgentError
Instance Method Summary collapse
-
#initialize(message, code = UNKNOWN_ERR) ⇒ AgentInternalError
constructor
A new instance of AgentInternalError.
Methods inherited from AgentError
Constructor Details
#initialize(message, code = UNKNOWN_ERR) ⇒ AgentInternalError
Returns a new instance of AgentInternalError.
47 48 49 50 |
# File 'lib/flydata/errors.rb', line 47 def initialize(, code = UNKNOWN_ERR) super("#{} code:#{code}") @code = code end |
Instance Attribute Details
#code ⇒ Object (readonly)
Returns the value of attribute code.
52 53 54 |
# File 'lib/flydata/errors.rb', line 52 def code @code end |