Exception: Hanami::Utils::ShellColor::UnknownColorCodeError
- Inherits:
-
StandardError
- Object
- StandardError
- Hanami::Utils::ShellColor::UnknownColorCodeError
- Defined in:
- lib/hanami/utils/shell_color.rb
Overview
Error raised for unknown color codes.
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.
20 21 22 |
# File 'lib/hanami/utils/shell_color.rb', line 20 def initialize(code) super("unknown color code: `#{code.inspect}'") end |