Exception: MGit::NoCommandError

Inherits:
UsageError
  • Object
show all
Defined in:
lib/mgit/exceptions.rb

Instance Method Summary collapse

Methods inherited from UsageError

#to_s

Constructor Details

#initializeNoCommandError

Returns a new instance of NoCommandError.



39
40
41
# File 'lib/mgit/exceptions.rb', line 39

def initialize
  super('No commands given.', 'Usage: mgit <command> [parameters]')
end