yarn_state/
error.rs

1// SPDX-FileCopyrightText: 2024 The Chaste Authors
2// SPDX-License-Identifier: Apache-2.0 OR BSD-2-Clause
3
4use thiserror::Error;
5
6#[derive(Debug, Error)]
7#[non_exhaustive]
8pub enum Error {
9    #[error("Invalid .yarn-state.yml syntax")]
10    InvalidSyntax(),
11}
12
13pub type Result<T, E = Error> = std::result::Result<T, E>;