Skip to main content

nominal_api/conjure/errors/ingest/api/
run_bounds_inverted.rs

1#[derive(
2    Debug,
3    Clone,
4    conjure_object::serde::Serialize,
5    conjure_object::serde::Deserialize,
6    PartialEq,
7    Eq,
8    PartialOrd,
9    Ord,
10    Hash,
11    Copy
12)]
13#[serde(crate = "conjure_object::serde")]
14#[conjure_object::private::staged_builder::staged_builder]
15#[builder(crate = conjure_object::private::staged_builder, update, inline)]
16pub struct RunBoundsInverted {}
17impl RunBoundsInverted {
18    /// Constructs a new instance of the type.
19    #[inline]
20    pub fn new() -> Self {
21        Self::builder().build()
22    }
23}
24impl conjure_error::ErrorType for RunBoundsInverted {
25    #[inline]
26    fn code() -> conjure_error::ErrorCode {
27        conjure_error::ErrorCode::InvalidArgument
28    }
29    #[inline]
30    fn name() -> &'static str {
31        "IngestService:RunBoundsInverted"
32    }
33    #[inline]
34    fn safe_args() -> &'static [&'static str] {
35        &[]
36    }
37}