Exception: Dry::Logger::Formatters::Colors::UnknownColorCodeError Private

Inherits:
StandardError
  • Object
show all
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

Since:

  • 1.0.0

Instance Method Summary collapse

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.

Since:

  • 1.0.0



17
18
19
# File 'lib/dry/logger/formatters/colors.rb', line 17

def initialize(code)
  super("Unknown color code: `#{code.inspect}'")
end