MCPcopy Create free account
hub / github.com/actix/examples / Error

Class Error

json/json-error/src/main.rs:9–12  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

7
8#[derive(Debug, Serialize)]
9struct Error {
10 msg: String,
11 status: u16,
12}
13
14impl fmt::Display for Error {
15 fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result {

Callers

nothing calls this directly

Implementers 1

convention.rsjson/jsonrpc/src/convention.rs

Calls

no outgoing calls

Tested by

no test coverage detected