Exception: KairosMcp::Daemon::RestrictedShell::TimeoutError
- Inherits:
-
ShellError
- Object
- StandardError
- ShellError
- KairosMcp::Daemon::RestrictedShell::TimeoutError
- Defined in:
- lib/kairos_mcp/daemon/restricted_shell/errors.rb
Instance Attribute Summary collapse
-
#elapsed_ms ⇒ Object
readonly
Returns the value of attribute elapsed_ms.
-
#pid ⇒ Object
readonly
Returns the value of attribute pid.
Instance Method Summary collapse
-
#initialize(msg, elapsed_ms:, pid:) ⇒ TimeoutError
constructor
A new instance of TimeoutError.
Constructor Details
#initialize(msg, elapsed_ms:, pid:) ⇒ TimeoutError
Returns a new instance of TimeoutError.
13 14 15 16 17 |
# File 'lib/kairos_mcp/daemon/restricted_shell/errors.rb', line 13 def initialize(msg, elapsed_ms:, pid:) super(msg) @elapsed_ms = elapsed_ms @pid = pid end |
Instance Attribute Details
#elapsed_ms ⇒ Object (readonly)
Returns the value of attribute elapsed_ms.
12 13 14 |
# File 'lib/kairos_mcp/daemon/restricted_shell/errors.rb', line 12 def elapsed_ms @elapsed_ms end |
#pid ⇒ Object (readonly)
Returns the value of attribute pid.
12 13 14 |
# File 'lib/kairos_mcp/daemon/restricted_shell/errors.rb', line 12 def pid @pid end |