Exception: KairosMcp::Daemon::RestrictedShell::TimeoutError

Inherits:
ShellError
  • Object
show all
Defined in:
lib/kairos_mcp/daemon/restricted_shell/errors.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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_msObject (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

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