Exception: SageWorld::GeneralError

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

Constant Summary collapse

DEFAULT_MESSAGE =
'Error occured while fetching data.'

Instance Method Summary collapse

Constructor Details

#initialize(message = DEFAULT_MESSAGE) ⇒ GeneralError

Returns a new instance of GeneralError.



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

def initialize(message = DEFAULT_MESSAGE)
  super
end