gleemenu/error

Types

pub type Error {
  InvalidResponse(expected: String, found: String)
  ParsingFailed(expected: String, found: String)
  CommandFailed(code: Int, stderr: String)
}

Constructors

  • InvalidResponse(expected: String, found: String)
  • ParsingFailed(expected: String, found: String)
  • CommandFailed(code: Int, stderr: String)

Functions

pub fn command_failed(error: #(Int, String)) -> Error
Search Document