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