pub trait Error: 'static + Debug + Display + Send + Sync { }
State Machine Error bound.
This should reflect Wasm error type bound for future compatibility.