risingwave_expr::expr

Trait EvalErrorReport

source
pub trait EvalErrorReport:
    Clone
    + Send
    + Sync {
    // Required method
    fn report(&self, error: ExprError);
}
Expand description

Report an error during evaluation.

Required Methods§

source

fn report(&self, error: ExprError)

Perform the error reporting.

Called when an error occurs during row-level evaluation of a non-strict expression, that is, wrapped by NonStrict.

Object Safety§

This trait is not object safe.

Implementations on Foreign Types§

source§

impl EvalErrorReport for !

A dummy implementation that panics when called.

Used as the type parameter for the expression builder when non-strict evaluation is not required.

source§

fn report(&self, _error: ExprError)

source§

impl<'a, T: 'a + EvalErrorReport + ?Sized> EvalErrorReport for &'a T
where &'a T: Clone + Send + Sync,

source§

fn report(&self, error: ExprError)

source§

impl<T: EvalErrorReport + ?Sized> EvalErrorReport for Arc<T>
where Arc<T>: Clone + Send + Sync,

source§

fn report(&self, error: ExprError)

Implementors§