Function rouler::roller_or_fail
source · [−]Expand description
A function for safely creating a new Roller
without panicking.
Takes a &str
input and if the syntax parses, returns a Roller wrapped by a Result.
Otherwise returns a ParsingError
.
Examples
use rouler::roller_or_fail;