Exception: T2Server::AttributeNotFoundError
- Inherits:
-
T2ServerError
- Object
- RuntimeError
- T2ServerError
- T2Server::AttributeNotFoundError
- Defined in:
- lib/t2-server/exceptions.rb
Overview
Indicates that the attribute that the user is trying to read/change does not exist. The attribute could be a server or run attribute.
Instance Attribute Summary collapse
-
#path ⇒ Object
readonly
The path of the attribute that was not found on the server.
Instance Method Summary collapse
-
#initialize(path) ⇒ AttributeNotFoundError
constructor
Create a new AttributeNotFoundError with the path to the erroneous attribute.
Constructor Details
#initialize(path) ⇒ AttributeNotFoundError
Create a new AttributeNotFoundError with the path to the erroneous attribute.
139 140 141 142 |
# File 'lib/t2-server/exceptions.rb', line 139 def initialize(path) @path = path super "Could not find attribute at #{@path}" end |
Instance Attribute Details
#path ⇒ Object (readonly)
The path of the attribute that was not found on the server.
135 136 137 |
# File 'lib/t2-server/exceptions.rb', line 135 def path @path end |