1/// The body of every non-2xx response.
2#[derive(serde::Serialize, serde::Deserialize, Clone, Debug)]
3pub struct ApiError {
4/// Machine-readable: `unauthorized`, `not_found`, `rate_limited`, …
5pub code: String,
6/// Safe to show to the user as-is.
7pub message: String,
8}