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.
7 8 9 10 11 12 |
# File 'lib/gitrb/repository.rb', line 7 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.
5 6 7 |
# File 'lib/gitrb/repository.rb', line 5 def args @args end |
#command ⇒ Object (readonly)
Returns the value of attribute command.
5 6 7 |
# File 'lib/gitrb/repository.rb', line 5 def command @command end |
#output ⇒ Object (readonly)
Returns the value of attribute output.
5 6 7 |
# File 'lib/gitrb/repository.rb', line 5 def output @output end |