Error

Error values and inspection

type Error = Prim.Types.Error

type ErrorCode = Prim.ErrorCode

public let reject : (message : Text) -> Error

public let code : (error : Error) -> ErrorCode

public let message : (error : Error) -> Text