MCPcopy Create free account
hub / github.com/NodeDB-Lab/nodedb / err

Function err

nodedb-sql/src/ddl_ast/parse/synonym_group.rs:173–177  ·  view source on GitHub ↗
(sql: &str)

Source from the content-addressed store, hash-verified

171 }
172
173 fn err(sql: &str) -> SqlError {
174 parse(sql)
175 .expect("expected Some")
176 .expect_err("expected Err")
177 }
178
179 #[test]
180 fn create_basic() {

Callers 2

Calls 2

parseFunction · 0.70
expectMethod · 0.45

Tested by 2