We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How can i get the error from callback function?
The text was updated successfully, but these errors were encountered:
Any updates here?
Sorry, something went wrong.
old version code :
type Callback func(*Event)
but the latest version
type Callback func(context.Context, *Event)
any updates on this?
you can set err in callback func to event.Err and exit the func, than you can get the error in Event return
err
event.Err
return
event.Err = err
func (f *FSM) Event(ctx context.Context, event string, args ...interface{}) error
@172478394 @CmderQ @aldulea @rahulsawra98
No branches or pull requests
How can i get the error from callback function?
The text was updated successfully, but these errors were encountered: