MCPcopy Create free account
hub / github.com/hashintel/hash / fmt

Method fmt

libs/@local/hashql/eval/tests/orchestrator/error.rs:14–21  ·  view source on GitHub ↗
(&self, f: &mut fmt::Formatter<'_>)

Source from the content-addressed store, hash-verified

12
13impl fmt::Display for SetupError {
14 fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
15 match self {
16 Self::Container => f.write_str("failed to start test container"),
17 Self::Connection => f.write_str("failed to connect to database"),
18 Self::Migration => f.write_str("failed to run database migrations"),
19 Self::Seed => f.write_str("failed to seed test data"),
20 }
21 }
22}
23
24impl Error for SetupError {}

Callers

nothing calls this directly

Calls 1

write_strMethod · 0.45

Tested by

no test coverage detected