pontil/errors

Error types for pontil modules.

Types

Errors returned by pontil functions.

pub type PontilError {
  InputRequired(name: String)
  InvalidBooleanInput(name: String)
  MissingEnvVar(name: String)
  MissingSummaryEnvVar
  FileNotFound(path: String)
  FileError(error: simplifile.FileError)
}

Constructors

  • InputRequired(name: String)

    A required input was not supplied.

  • InvalidBooleanInput(name: String)

    An input value does not meet the YAML 1.2 “Core Schema” boolean specification.

  • MissingEnvVar(name: String)

    A required environment variable is missing or empty.

  • MissingSummaryEnvVar

    The GITHUB_STEP_SUMMARY environment variable is missing or empty.

  • FileNotFound(path: String)

    A file expected at the given path does not exist.

  • FileError(error: simplifile.FileError)

    A file system operation failed.

Search Document