Skip to main content

fret_runner_web/
native.rs

1#[derive(Debug, Clone, Copy, PartialEq, Eq)]
2pub struct RunnerError;
3
4impl std::fmt::Display for RunnerError {
5    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
6        f.write_str("fret-runner-web is only available on wasm32")
7    }
8}
9
10impl std::error::Error for RunnerError {}