Class: Jiminy::CLI::ExitCodes::ProcessTimeout

Inherits:
Base
  • Object
show all
Defined in:
lib/jiminy/cli/exit_codes/process_timeout.rb

Instance Attribute Summary

Attributes inherited from Base

#message, #value

Instance Method Summary collapse

Methods inherited from Base

#to_s

Constructor Details

#initialize(start_time:) ⇒ ProcessTimeout

Returns a new instance of ProcessTimeout.



5
6
7
# File 'lib/jiminy/cli/exit_codes/process_timeout.rb', line 5

def initialize(start_time:)
  super("Process timed out after #{Time.now - start_time} seconds", 1)
end