ApplicationError

declslides.application.ApplicationError

Errors raised while turning a valid CLI request into a rendered document.

These errors belong to the application layer: they describe invalid inputs, unsupported formats, runtime execution failures, and other problems that can happen while rendering a presentation.

Attributes

Graph
Supertypes
trait Enum
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Members list

Type members

Enum entries

final case class BootstrapTemplateUnavailable(path: String, reason: String)

The bootstrap template could not be loaded or read.

The bootstrap template could not be loaded or read.

Attributes

final case class CannotReadInput(path: String, reason: String)

The input file exists but could not be read.

The input file exists but could not be read.

Attributes

final case class InputFileNotFound(path: String)

The input file does not exist.

The input file does not exist.

Attributes

final case class ScalaCliUnavailable(binary: String, reason: String)

Scala CLI could not be executed.

Scala CLI could not be executed.

Attributes

final case class ScriptExecutionFailed(details: String)

The generated bootstrap script failed during execution.

The generated bootstrap script failed during execution.

Attributes

final case class UnsupportedFormat(raw: String, supported: Vector[String])

The requested output format is not available.

The requested output format is not available.

Attributes

final case class UnsupportedInputFile(path: String)

The input file exists, but its kind is not supported.

The input file exists, but its kind is not supported.

Attributes