MCPcopy Create free account
hub / github.com/SeaQL/sea-orm / query_err

Function query_err

src/error.rs:140–145  ·  view source on GitHub ↗
(s: T)

Source from the content-addressed store, hash-verified

138
139#[allow(dead_code)]
140pub(crate) fn query_err<T>(s: T) -> DbErr
141where
142 T: ToString,
143{
144 DbErr::Query(RuntimeErr::Internal(s.to_string()))
145}
146
147#[allow(dead_code)]
148pub(crate) fn type_err<T>(s: T) -> DbErr

Callers 7

queryMethod · 0.85
try_getMethod · 0.85
test_query_errFunction · 0.85
try_getMethod · 0.85
load_oneMethod · 0.85
load_manyMethod · 0.85
load_many_to_manyMethod · 0.85

Calls 1

QueryClass · 0.50

Tested by 1

test_query_errFunction · 0.68