Module poker::error[][src]

Two different error types that may be encountered when trying to parse Card types from strings, or when trying to evaluate hands.

The Debug representations aren’t particularly helpful, so try to display errors as Display when possible.

Enums

EvalError

An error that can be thrown when evaluating poker hands.

ParseCardError

An error than can be thrown when parsing Card types from strings.