fraiseql-error 2.3.2

Error types for FraiseQL v2
Documentation
[dependencies]
# axum is optional: only needed when fraiseql-error is used as an HTTP layer.
# Crates that expose HTTP handlers (e.g. fraiseql-server) should enable the
# `axum-compat` feature. Pure logic crates (e.g. fraiseql-db) must NOT enable it.
axum = {workspace = true, optional = true}
serde = {version = "1", features = ["derive"]}
serde_json = "1"
thiserror = "2"
toml = "0.8"

[features]
# Enables `impl IntoResponse for FraiseQLError` and HTTP error conversion utilities.
# Enable this feature in crates that serve HTTP responses (e.g. fraiseql-server).
axum-compat = ["dep:axum"]

[[test]]
name = "http_responses"
required-features = ["axum-compat"]

[lints]
workspace = true

[package]
description = "Error types for FraiseQL v2"
name = "fraiseql-error"
readme = "README.md"
authors.workspace = true
categories.workspace = true
documentation.workspace = true
edition.workspace = true
homepage.workspace = true
keywords.workspace = true
license.workspace = true
repository.workspace = true
rust-version.workspace = true
version.workspace = true