Exception: UnknownShell

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

Overview

Error for when trying to determine the calling systems shell but no known value is found

Instance Method Summary collapse

Constructor Details

#initialize(msg = 'An unknown shell has been encountered', exception_type = 'custom') ⇒ UnknownShell

Returns a new instance of UnknownShell.



6
7
8
9
# File 'lib/exceptions.rb', line 6

def initialize(msg = 'An unknown shell has been encountered', exception_type = 'custom')
  @exception_type = exception_type
  super(msg)
end