sketch/css/error

Types

pub type Error {
  ApplicationError(message: String)
  SimplifileError(error: simplifile.FileError)
  GlanceError(error: glance.Error)
}

Constructors

  • ApplicationError(message: String)
  • SimplifileError(error: simplifile.FileError)
  • GlanceError(error: glance.Error)

Functions

pub fn glance(
  err: Result(a, Error),
) -> Result(a, sketch/css/error.Error)
pub fn not_a_directory(dir: String) -> Result(a, Error)
pub fn simplifile(err: Result(a, FileError)) -> Result(a, Error)
Search Document