Exception: Utils::Exceptions::FunctionNotImplemented

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

Overview

Representation for errors that occur when a function has not been implemented yet. It inherits from StandardError, and allows developers to raise a specific exception when a required function remains unimplemented in a subclass.

Instance Method Summary collapse

Constructor Details

#initialize(message = "The function haven't been implemented yet.") ⇒ FunctionNotImplemented

Returns a new instance of FunctionNotImplemented.



11
12
13
# File 'lib/bas/utils/exceptions/function_not_implemented.rb', line 11

def initialize(message = "The function haven't been implemented yet.")
  super(message)
end