glv8

Types

pub type DBError {
  DBError(Nil)
  DBErrorMessage(e: String)
  DBErrorJson(j: Json)
  DBErrorDecode(es: DecodeErrors)
}

Constructors

  • DBError(Nil)
  • DBErrorMessage(e: String)
  • DBErrorJson(j: Json)
  • DBErrorDecode(es: DecodeErrors)
pub type Function0(r) =
  fn() -> r
pub type Function1(a, r) =
  fn(a) -> r
pub type Function2(a, b, r) =
  fn(a, b) -> r
pub type Function3(a, b, c, r) =
  fn(a, b, c) -> r
pub type Function4(a, b, c, d, r) =
  fn(a, b, c, d) -> r
pub type JsObject {
  JsObject
}

Constructors

  • JsObject
pub type SqlFunction(f) {
  SqlFunction(f: f, sql: String)
}

Constructors

  • SqlFunction(f: f, sql: String)

Functions

pub fn error_to_string(e: DBError) -> String
Search Document