Exception: Errors::InvalidPaletteArgument

Inherits:
StandardError
  • Object
show all
Defined in:
lib/mosaiq/errors.rb

Overview

Raised when palette argument is empty

Instance Method Summary collapse

Constructor Details

#initializeInvalidPaletteArgument

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