// WithError injects an error into the mock handler.
WithError injects an error into the mock handler.
// WithError injects an error into the mock handler .
func (m *AnchorEventHandler) WithError(err error) *AnchorEventHandler {
	m.err = err
	return m
}
func ( m * AnchorEventHandler ) WithError ( err error ) * AnchorEventHandler { m . err = err return m }
WithError injects an error into the mock handler.
WithError injects an error into the mock handler .