MCPcopy Create free account
hub / github.com/csskit/csskit / record_error

Method record_error

crates/csskit_lsp/src/jsonrpc/tracing_layer.rs:61–63  ·  view source on GitHub ↗
(&mut self, field: &tracing::field::Field, value: &(dyn std::error::Error + 'static))

Source from the content-addressed store, hash-verified

59 }
60
61 fn record_error(&mut self, field: &tracing::field::Field, value: &(dyn std::error::Error + 'static)) {
62 self.insert(field.name(), format!("{value:?}"));
63 }
64
65 fn record_debug(&mut self, field: &tracing::field::Field, value: &dyn std::fmt::Debug) {
66 self.insert(field.name(), format!("{value:?}"));

Callers

nothing calls this directly

Calls 2

insertMethod · 0.45
nameMethod · 0.45

Tested by

no test coverage detected