Skip to content

Exceptions

tilttek/progression

Every exception of the library implements Tilttek\Progression\Exception\ProgressionException.

ExceptionRaised whenMessage, for instance
InvalidProgressionA name, a curve, a rule, a cap, a season, a milestone, a grace, a timezone or a date is refused"Player" is not a track name: 1 to 64 lower-case letters, digits, "_", "." or "-", starting with a letter.
UnknownTrackA track is asked for by a name none hasNo track is named "author".
UnknownStreakA streak is asked for by a name none hasNo streak is named "monthly".

The verb patterns and the context conditions of a rule are checked by tilttek/activity, which raises its own InvalidActivity.