Statistic
enum Statistic : Error, CustomStringConvertible
The Exception.Statistic
enum represents all the errors that can be thrown
on the statistics calls.
-
Thrown if the end date is before the start date.
Declaration
Swift
case invalidEndDate
-
Thrown if more than 10 categories are specified in the category stats call.
Declaration
Swift
case invalidNumberOfCategories
-
Thrown if more than 10 subusers are specified in the subuser stats call.
Declaration
Swift
case invalidNumberOfSubusers
-
A description of the error.
Declaration
Swift
public var description: String { get }