/// The output unit symbol could not be found in the unit system. The conversion could not be computed.
#[derive(
    Debug,
    Clone,
    conjure_object::serde::Serialize,
    conjure_object::serde::Deserialize,
    PartialEq,
    Eq,
    PartialOrd,
    Ord,
    Hash
)]
#[serde(crate = "conjure_object::serde")]
#[conjure_object::private::staged_builder::staged_builder]
#[builder(crate = conjure_object::private::staged_builder, update, inline)]
pub struct ConverterOutputUnitNotFound {
    #[serde(rename = "inputUnit")]
    input_unit: super::super::super::super::super::objects::scout::units::api::UnitSymbol,
}
impl ConverterOutputUnitNotFound {
    /// Constructs a new instance of the type.
    #[inline]
    pub fn new(
        input_unit: super::super::super::super::super::objects::scout::units::api::UnitSymbol,
    ) -> Self {
        Self::builder().input_unit(input_unit).build()
    }
    #[inline]
    pub fn input_unit(
        &self,
    ) -> &super::super::super::super::super::objects::scout::units::api::UnitSymbol {
        &self.input_unit
    }
}
impl conjure_error::ErrorType for ConverterOutputUnitNotFound {
    #[inline]
    fn code() -> conjure_error::ErrorCode {
        conjure_error::ErrorCode::InvalidArgument
    }
    #[inline]
    fn name() -> &'static str {
        "Compute:ConverterOutputUnitNotFound"
    }
    #[inline]
    fn safe_args() -> &'static [&'static str] {
        &[]
    }
}
