pub enum RegisterError {
BadType(String),
Lower(LowerError),
Invalid(Vec<String>),
InvokesVirtualActor {
state: String,
src: String,
},
Refused {
datamodel: String,
problems: Vec<String>,
},
}Expand description
Why a chart could not be registered.
Variants§
BadType(String)
The chart type is not an absolute IRI.
Lower(LowerError)
A vt: extension is malformed.
Invalid(Vec<String>)
The lowered chart failed validation.
InvokesVirtualActor
An <invoke> targets a virtual actor, which is never invokable.
Refused
The chart’s datamodel refuses to instantiate it, such as a typed CEL chart with type errors.
Trait Implementations§
Source§impl Clone for RegisterError
impl Clone for RegisterError
Source§impl Debug for RegisterError
impl Debug for RegisterError
Source§impl Display for RegisterError
impl Display for RegisterError
impl Eq for RegisterError
Source§impl Error for RegisterError
impl Error for RegisterError
1.30.0 · Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0:
use the Display impl or to_string()
Source§impl PartialEq for RegisterError
impl PartialEq for RegisterError
impl StructuralPartialEq for RegisterError
Auto Trait Implementations§
impl Forget for RegisterError
impl Freeze for RegisterError
impl Move for RegisterError
impl RefUnwindSafe for RegisterError
impl Send for RegisterError
impl Sync for RegisterError
impl Unpin for RegisterError
impl UnsafeUnpin for RegisterError
impl UnwindSafe for RegisterError
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more