Exception: ConventionalCommits::GenericError

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

Instance Method Summary collapse

Constructor Details

#initialize(msg = "This is a custom exception", exception_type = "custom") ⇒ GenericError

Returns a new instance of GenericError.



21
22
23
24
# File 'lib/configuration/main_configuration_reader.rb', line 21

def initialize(msg = "This is a custom exception", exception_type = "custom")
  @exception_type = exception_type
  super(msg)
end