Error

data class Error(val cause: Throwable) : PaletteResult

An error occurred while generating the Palette.

Constructors

Link copied to clipboard
constructor(cause: Throwable)

Properties

Link copied to clipboard

The cause of the error.

Link copied to clipboard

Returns the generated Palette if this is a Success result, otherwise null.