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