CliError

declslides.cli.CliError
See theCliError companion trait
object CliError

Constructors for the concrete CLI error cases.

Attributes

Companion
trait
Graph
Supertypes
trait Sum
trait Mirror
class Object
trait Matchable
class Any
Self type
CliError.type

Members list

Type members

Classlikes

final case class DuplicateOption(option: CliOption) extends CliError

The same option was provided more than once.

The same option was provided more than once.

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
trait CliError
class Object
trait Matchable
class Any
Show all
final case class InvalidFormat(provided: String, supported: List[String]) extends CliError

The user requested an unsupported output format.

The user requested an unsupported output format.

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
trait CliError
class Object
trait Matchable
class Any
Show all
final case class MissingOption(option: CliOption) extends CliError

A required option was not provided.

A required option was not provided.

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
trait CliError
class Object
trait Matchable
class Any
Show all
final case class MissingValue(option: String) extends CliError

An option flag was provided without a value.

An option flag was provided without a value.

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
trait CliError
class Object
trait Matchable
class Any
Show all
final case class RenderFailure(details: String) extends CliError

The rendering command failed after the CLI was parsed successfully.

The rendering command failed after the CLI was parsed successfully.

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
trait CliError
class Object
trait Matchable
class Any
Show all
final case class RuntimeInitialization(details: String) extends CliError

The runtime environment could not be prepared.

The runtime environment could not be prepared.

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
trait CliError
class Object
trait Matchable
class Any
Show all
final case class UnexpectedArgument(argument: String) extends CliError

A positional or otherwise unexpected argument was encountered.

A positional or otherwise unexpected argument was encountered.

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
trait CliError
class Object
trait Matchable
class Any
Show all
final case class UnknownOption(option: String) extends CliError

An unknown option flag was provided.

An unknown option flag was provided.

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
trait CliError
class Object
trait Matchable
class Any
Show all

Inherited and Abstract types

type MirroredElemLabels <: Tuple

The names of the product elements.

The names of the product elements.

Attributes

Inherited from:
Mirror
type MirroredLabel <: String

The name of the type.

The name of the type.

Attributes

Inherited from:
Mirror