Docs.rs
pmcp-code-mode-0.1.0
pmcp-code-mode 0.1.0
Permalink
Docs.rs crate page
MIT
OR
Apache-2.0
Links
Homepage
Repository
crates.io
Source
Owners
guyernest
Dependencies
async-trait ^0.1
normal
base64 ^0.22
normal
cedar-policy ^4.8
normal
optional
chrono ^0.4
normal
graphql-parser ^0.4
normal
hex ^0.4
normal
hmac ^0.12
normal
pmcp ^1.10
normal
serde ^1
normal
serde_json ^1
normal
sha2 ^0.10
normal
swc_common ^18
normal
optional
swc_ecma_ast ^19
normal
optional
swc_ecma_parser ^32
normal
optional
swc_ecma_visit ^19
normal
optional
thiserror ^2
normal
tokio ^1
normal
tracing ^0.1
normal
uuid ^1
normal
cedar-policy ^4.8
dev
tokio ^1
dev
Versions
83.11%
of the crate is documented
Platform
x86_64-unknown-linux-gnu
Feature flags
docs.rs
About docs.rs
Badges
Builds
Metadata
Shorthand URLs
Download
Rustdoc JSON
Build queue
Privacy policy
Rust
Rust website
The Book
Standard Library API Reference
Rust by Example
The Cargo Guide
Clippy Documentation
Skip to main content
format_error_response
pmcp_
code_
mode
0.1.0
In pmcp_
code_
mode::
handler
pmcp_code_mode
::
handler
Function
format_
error_
response
Copy item path
Source
pub fn format_error_response(error: &
str
) -> (
Value
,
bool
)
Expand description
Format an error as a JSON response.