class MGit::GitError

Public Class Methods

new(error) click to toggle source
# File lib/mgit/exceptions.rb, line 18
def initialize(error)
  @error = error
end

Public Instance Methods

to_s() click to toggle source
# File lib/mgit/exceptions.rb, line 22
def to_s
  "Git error: #{@error}"
end