Exception: Domain::Exceptions::FunctionNotImplemented

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

Overview

Provides a domain-specific 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

Initializes the exception with an optional custom error message.



13
14
15
# File 'lib/bas/domain/exceptions/function_not_implemented.rb', line 13

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