Skip to content
New issue

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

wrap more specific messages inside ErrIllegalAction #4

Open
todo bot opened this issue Jul 14, 2020 · 0 comments
Open

wrap more specific messages inside ErrIllegalAction #4

todo bot opened this issue Jul 14, 2020 · 0 comments
Assignees

Comments

@todo
Copy link

todo bot commented Jul 14, 2020

riverboat/errors.go

Lines 30 to 35 in ff3b892

//TODO: wrap more specific messages inside ErrIllegalAction
// ErrIllegalAction is returned when an Action is valid (all parameters are well-formed), but
// it is illegal per the laws of poker given the state of the game at that time. This could include
// illegal bet amounts, out-of-turn plays, or other violations of the rules.
var ErrIllegalAction = errors.New("this action cannot be performed at this time")


This issue was generated by todo based on a TODO comment in ff3b892. It's been assigned to @alexclewontin because they committed the code.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant