Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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)]
140
pub(crate) fn query_err<T>(s: T) -> DbErr
141
where
142
T: ToString,
143
{
144
DbErr::Query(RuntimeErr::Internal(s.to_string()))
145
}
146
147
#[allow(dead_code)]
148
pub(crate) fn type_err<T>(s: T) -> DbErr
Callers
7
query
Method · 0.85
try_get
Method · 0.85
test_query_err
Function · 0.85
try_get
Method · 0.85
load_one
Method · 0.85
load_many
Method · 0.85
load_many_to_many
Method · 0.85
Calls
1
Query
Class · 0.50
Tested by
1
test_query_err
Function · 0.68