Documentation for Dicex.
Dicex
@spec roll(String.t()) :: {[{integer(), integer()}], integer()} | {:error, any()}