Exception: ConventionalCommits::GenericError
- Inherits:
-
StandardError
- Object
- StandardError
- ConventionalCommits::GenericError
- Defined in:
- lib/configuration/main_configuration_reader.rb
Instance Method Summary collapse
-
#initialize(msg = "This is a custom exception", exception_type = "custom") ⇒ GenericError
constructor
A new instance of GenericError.
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 |