Exception: Agent::SessionContext::SubprocessRunner::TimeoutError
- Inherits:
-
StandardError
- Object
- StandardError
- Agent::SessionContext::SubprocessRunner::TimeoutError
- Defined in:
- lib/agent/session_context/subprocess_runner.rb
Instance Attribute Summary collapse
-
#timeout_seconds ⇒ Object
readonly
Returns the value of attribute timeout_seconds.
Instance Method Summary collapse
-
#initialize(timeout_seconds) ⇒ TimeoutError
constructor
A new instance of TimeoutError.
Constructor Details
#initialize(timeout_seconds) ⇒ TimeoutError
Returns a new instance of TimeoutError.
17 18 19 20 |
# File 'lib/agent/session_context/subprocess_runner.rb', line 17 def initialize(timeout_seconds) @timeout_seconds = timeout_seconds super("subprocess exceeded #{timeout_seconds} seconds") end |
Instance Attribute Details
#timeout_seconds ⇒ Object (readonly)
Returns the value of attribute timeout_seconds.
15 16 17 |
# File 'lib/agent/session_context/subprocess_runner.rb', line 15 def timeout_seconds @timeout_seconds end |