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

Function conn_err

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

Source from the content-addressed store, hash-verified

122
123#[allow(dead_code)]
124pub(crate) fn conn_err<T>(s: T) -> DbErr
125where
126 T: ToString,
127{
128 DbErr::Conn(RuntimeErr::Internal(s.to_string()))
129}
130
131#[allow(dead_code)]
132pub(crate) fn exec_err<T>(s: T) -> DbErr

Callers 15

executeMethod · 0.85
execute_unpreparedMethod · 0.85
query_oneMethod · 0.85
query_allMethod · 0.85
streamMethod · 0.85
beginMethod · 0.85
begin_with_configMethod · 0.85
transactionMethod · 0.85
pingMethod · 0.85
close_by_refMethod · 0.85
connectMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected