pub enum TriggerError {
Malformed {
what: String,
},
UnresolvedWorkflow {
hash: String,
why: String,
},
NoConnector {
trigger: String,
connector: String,
},
ConnectorFailed {
trigger: String,
detail: String,
},
ClaimLost {
trigger: String,
},
BadSchedule {
expr: String,
why: String,
},
UnknownTarget {
target: String,
},
UnknownMember {
trigger: String,
member: String,
},
EgressRefused {
trigger: String,
host: String,
},
Storage {
detail: String,
},
BlobContract {
trigger: String,
detail: String,
},
}Variants§
Malformed
TRG-E001 — the declaration cannot fire as written.
UnresolvedWorkflow
TRG-E002 — workflow does not resolve to a Workflow grain.
NoConnector
TRG-E003 — a trigger is due but the host configured no connector command.
Loud on purpose, matching how a host tool with no --tool-cmd refuses
rather than quietly succeeding: a poll that silently does nothing looks
exactly like a source with no new items.
ConnectorFailed
TRG-E004 — the connector failed: non-zero exit, timeout, or non-JSON.
ClaimLost
TRG-E005 — claim lost: the lease expired and another evaluator took over.
BadSchedule
TRG-E006 — the cron expression is invalid, or names a timezone this release refuses.
UnknownTarget
TRG-E007 — unknown trigger render target.
UnknownMember
TRG-E008 — a composite predicate references a member it does not declare.
EgressRefused
TRG-E009 — the connector tried to reach a host outside its allowlist.
Storage
TRG-E010 — the store refused or failed underneath us.
BlobContract
TRG-E011 — a connector’s blob payload violated the contract:
undecodable b64, a dangling "@N" reference, or a per-item /
per-response budget overrun. The WHOLE poll fails with the cursor
unmoved — refusing loudly beats truncating, because a silently
dropped attachment is an invoice posting without evidence.
Implementations§
Trait Implementations§
Source§impl Debug for TriggerError
impl Debug for TriggerError
Source§impl Display for TriggerError
impl Display for TriggerError
Source§impl Error for TriggerError
impl Error for TriggerError
1.30.0 · Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
use the Display impl or to_string()
Auto Trait Implementations§
impl Freeze for TriggerError
impl RefUnwindSafe for TriggerError
impl Send for TriggerError
impl Sync for TriggerError
impl Unpin for TriggerError
impl UnsafeUnpin for TriggerError
impl UnwindSafe for TriggerError
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> Downcast for Twhere
T: Any,
impl<T> Downcast for Twhere
T: Any,
Source§fn into_any(self: Box<T>) -> Box<dyn Any>
fn into_any(self: Box<T>) -> Box<dyn Any>
Box<dyn Trait> (where Trait: Downcast) to Box<dyn Any>, which can then be
downcast into Box<dyn ConcreteType> where ConcreteType implements Trait.Source§fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>
fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>
Rc<Trait> (where Trait: Downcast) to Rc<Any>, which can then be further
downcast into Rc<ConcreteType> where ConcreteType implements Trait.Source§fn as_any(&self) -> &(dyn Any + 'static)
fn as_any(&self) -> &(dyn Any + 'static)
&Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot
generate &Any’s vtable from &Trait’s.Source§fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
&mut Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot
generate &mut Any’s vtable from &mut Trait’s.Source§impl<T> DowncastSend for T
impl<T> DowncastSend for T
Source§impl<T> DowncastSync for T
impl<T> DowncastSync for T
impl<T> ErasedDestructor for Twhere
T: 'static,
impl<T> Fruit for T
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more