Struct zeebe::ThrowErrorBuilder [−][src]
pub struct ThrowErrorBuilder { /* fields omitted */ }
Expand description
Configuration to throw an error in the context of a job.
Implementations
Set the unique job identifier, as obtained from Job::key
.
Set the error code that will be matched with an error catch event.
Set an optional message describing why the error was thrown.
Submit the throw error request.
Trait Implementations
Auto Trait Implementations
impl !RefUnwindSafe for ThrowErrorBuilder
impl !Send for ThrowErrorBuilder
impl !Sync for ThrowErrorBuilder
impl Unpin for ThrowErrorBuilder
impl !UnwindSafe for ThrowErrorBuilder
Blanket Implementations
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more
Wrap the input message T
in a tonic::Request
pub fn vzip(self) -> V
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more