Exception: T2Server::RunNotFoundError
- Inherits:
-
T2ServerError
- Object
- RuntimeError
- T2ServerError
- T2Server::RunNotFoundError
- Defined in:
- lib/t2-server/exceptions.rb
Overview
Raised when the run that is being operated on cannot be found. If the expectation is that the run exists then it could have been destroyed by a timeout or another user.
Instance Attribute Summary collapse
-
#identifier ⇒ Object
readonly
The identifier of the run that was not found on the server.
Instance Method Summary collapse
-
#initialize(id) ⇒ RunNotFoundError
constructor
Create a new RunNotFoundError with the specified identifier.
Constructor Details
#initialize(id) ⇒ RunNotFoundError
Create a new RunNotFoundError with the specified identifier.
124 125 126 127 |
# File 'lib/t2-server/exceptions.rb', line 124 def initialize(id) @identifier = id super "Could not find run #{@identifier}" end |
Instance Attribute Details
#identifier ⇒ Object (readonly)
The identifier of the run that was not found on the server.
121 122 123 |
# File 'lib/t2-server/exceptions.rb', line 121 def identifier @identifier end |