Skip to main content

WxErrorExceptionHandler

Trait WxErrorExceptionHandler 

Source
pub trait WxErrorExceptionHandler: Send + Sync {
    // Required method
    fn handle(&self, e: WxErrorException);
}
Expand description

微信错误异常处理器回调接口。

用于消息路由等场景中统一处理异步执行时产生的错误。

Required Methods§

Source

fn handle(&self, e: WxErrorException)

处理微信错误异常。

§参数
  • e:微信错误异常

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§