Exception: Gitrb::CommandError
- Inherits:
-
StandardError
- Object
- StandardError
- Gitrb::CommandError
- Defined in:
- lib/gitrb/repository.rb
Instance Attribute Summary collapse
-
#args ⇒ Object
readonly
Returns the value of attribute args.
-
#command ⇒ Object
readonly
Returns the value of attribute command.
-
#output ⇒ Object
readonly
Returns the value of attribute output.
Instance Method Summary collapse
-
#initialize(command, args, output) ⇒ CommandError
constructor
A new instance of CommandError.
Constructor Details
#initialize(command, args, output) ⇒ CommandError
Returns a new instance of CommandError.
8 9 10 11 12 13 |
# File 'lib/gitrb/repository.rb', line 8 def initialize(command, args, output) super("#{command} failed") @command = command @args = args @output = output end |
Instance Attribute Details
#args ⇒ Object (readonly)
Returns the value of attribute args.
6 7 8 |
# File 'lib/gitrb/repository.rb', line 6 def args @args end |
#command ⇒ Object (readonly)
Returns the value of attribute command.
6 7 8 |
# File 'lib/gitrb/repository.rb', line 6 def command @command end |
#output ⇒ Object (readonly)
Returns the value of attribute output.
6 7 8 |
# File 'lib/gitrb/repository.rb', line 6 def output @output end |