Exception: Dry::Logger::Formatters::Colors::UnknownColorCodeError Private
- Inherits:
-
StandardError
- Object
- StandardError
- Dry::Logger::Formatters::Colors::UnknownColorCodeError
- Defined in:
- lib/dry/logger/formatters/colors.rb
Overview
This class is part of a private API. You should avoid using this class if possible, as it may be removed or be changed in the future.
Unknown color code error
Instance Method Summary collapse
-
#initialize(code) ⇒ UnknownColorCodeError
constructor
private
A new instance of UnknownColorCodeError.
Constructor Details
#initialize(code) ⇒ UnknownColorCodeError
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
Returns a new instance of UnknownColorCodeError.
17 18 19 |
# File 'lib/dry/logger/formatters/colors.rb', line 17 def initialize(code) super("Unknown color code: `#{code.inspect}'") end |