Exception: RubyGit::TimeoutError
- Inherits:
-
SignaledError
- Object
- StandardError
- Error
- CommandLineError
- SignaledError
- RubyGit::TimeoutError
- Defined in:
- lib/ruby_git/errors.rb
Overview
This error is raised when a git command takes longer than the configured timeout
The git command executed, status, stdout, and stderr, and the timeout duration are available from this object.
result.status.timeout? will be true
Instance Attribute Summary
Attributes inherited from CommandLineError
Instance Method Summary collapse
-
#error_message ⇒ String
The human readable representation of this error.
Methods inherited from CommandLineError
Constructor Details
This class inherits a constructor from RubyGit::CommandLineError
Instance Method Details
#error_message ⇒ String
The human readable representation of this error
170 171 172 |
# File 'lib/ruby_git/errors.rb', line 170 def = "\#{super}, timed out after \#{result.options.timeout_after}s\n".chomp |