Exception: ConvenientService::Support::Castable::Exceptions::CastIsNotOverridden

Inherits:
Exception
  • Object
show all
Defined in:
lib/convenient_service/support/castable/exceptions.rb

Instance Method Summary collapse

Methods inherited from Exception

new

Instance Method Details

#initialize_with_kwargs(klass:) ⇒ Object



8
9
10
11
12
13
14
# File 'lib/convenient_service/support/castable/exceptions.rb', line 8

def initialize_with_kwargs(klass:)
  message = "    Cast method (.cast) of `\#{klass}` is NOT overridden.\n  TEXT\n\n  initialize(message)\nend\n"