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

Enum Error

sea-orm-rocket/lib/src/error.rs:7–16  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

5/// guard.
6#[derive(Debug)]
7pub enum Error<A, B = A> {
8 /// An error that occurred during database/pool initialization.
9 Init(A),
10
11 /// An error that occurred while retrieving a connection from the pool.
12 Get(B),
13
14 /// A [`Figment`](crate::figment::Figment) configuration error.
15 Config(crate::figment::Error),
16}
17
18impl<A: fmt::Display, B: fmt::Display> fmt::Display for Error<A, B> {
19 fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {

Callers 1

from_requestMethod · 0.70

Implementers 2

pool.rssea-orm-rocket/lib/src/pool.rs
error.rssea-orm-rocket/lib/src/error.rs

Calls

no outgoing calls

Tested by

no test coverage detected