Files
VoelinClient/crates/proto/tsproto-structs/src/errors.rs
T
Claude 7b6959c4cc vendor: import ReSpeak/tsclientlib@ee3bc6f
Unmodified copy of the tsclientlib workspace crates (MIT OR Apache-2.0)
with the tsdeclarations submodule (83cb8a9) flattened into plain files.
See crates/proto/UPSTREAM.md for the path mapping.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01NJvYyRmTjKcb9i8eyYXK5G
2026-09-25 12:46:11 +00:00

21 lines
421 B
Rust

use std::result::Result;
use crate::*;
use once_cell::sync::Lazy;
pub const DATA_STR: &str =
include_str!(concat!(env!("CARGO_MANIFEST_DIR"), "/declarations/Errors.csv"));
pub static DATA: Lazy<Errors> = Lazy::new(|| {
Errors(
csv::Reader::from_reader(DATA_STR.as_bytes())
.deserialize()
.collect::<Result<Vec<_>, _>>()
.unwrap(),
)
});
#[derive(Default, Debug)]
pub struct Errors(pub Vec<EnumValue>);