Download loda-rust/rust_project/loda-rust-cli/src/analytics/analytics_error.rs from Alignment-Lab-AI/ARC-stuff: direct link, hf CLI and curl.
- Browser
- Download file 424 Bytes
-
https://huggingface.co/datasets/Alignment-Lab-AI/ARC-stuff/resolve/main/loda-rust/rust_project/loda-rust-cli/src/analytics/analytics_error.rs
- Command line
-
hf download hf://datasets/Alignment-Lab-AI/ARC-stuff/loda-rust/rust_project/loda-rust-cli/src/analytics/analytics_error.rs
-
curl -L -o analytics_error.rs https://huggingface.co/datasets/Alignment-Lab-AI/ARC-stuff/resolve/main/loda-rust/rust_project/loda-rust-cli/src/analytics/analytics_error.rs
424 Bytes
| use std::error::Error; | |
| use std::fmt; | |
| pub enum AnalyticsError { | |
| BatchProgramAnalyzer(String), | |
| } | |
| impl fmt::Display for AnalyticsError { | |
| fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { | |
| match self { | |
| Self::BatchProgramAnalyzer(message) => | |
| write!(f, "BatchProgramAnalyzer. message: {}", message), | |
| } | |
| } | |
| } | |
| impl Error for AnalyticsError {} | |