Exception: T2Server::RunNotFoundError

Inherits:
T2ServerError show all
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

Instance Method Summary collapse

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

#identifierObject (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