Exception: Errors::InvalidColorsArgument

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

Overview

Raised when colors argument is empty

Instance Method Summary collapse

Constructor Details

#initializeInvalidColorsArgument

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