Method: Git::TimeoutError#error_message

Defined in:
lib/git/errors.rb

#error_messageString

The human readable representation of this error

Examples:

error.error_message #=> '["sleep", "10"], status: pid 88811 SIGKILL (signal 9), stderr: "err output", timed out after 1s'

Returns:

  • (String)


178
179
180
# File 'lib/git/errors.rb', line 178

def error_message = "\#{super}, timed out after \#{timeout_duration}s\n".chomp