1 2 3 4 5 6 7 8 9 10 11 12
// SPDX-FileCopyrightText: 2022 HH Partners
//
// SPDX-License-Identifier: MIT
//! Errors of the library.
/// Custom error struct.
#[derive(thiserror::Error, Debug)]
pub enum SpdxExpressionError {
#[error("Parsing for expression `{0}` failed.")]
Parse(String),
}