Exception: Errors::InvalidPaletteArgument
- Inherits:
-
StandardError
- Object
- StandardError
- Errors::InvalidPaletteArgument
- Defined in:
- lib/mosaiq/errors.rb
Overview
Raised when palette argument is empty
Instance Method Summary collapse
-
#initialize ⇒ InvalidPaletteArgument
constructor
A new instance of InvalidPaletteArgument.
Constructor Details
#initialize ⇒ InvalidPaletteArgument
Returns a new instance of InvalidPaletteArgument.
14 15 16 |
# File 'lib/mosaiq/errors.rb', line 14 def initialize super "Argument 'palette' should not be empty. Please provide an array with color names." end |