Skip to content

Exceptions

tilttek/points-bundle

The bundle raises the library's exceptions (Tilttek\Points\Exception\PointsException): InvalidPoints and UnknownCurrency for a wrong currency, rule or timezone in the configuration, when the container is compiled, and MovementConflict, InsufficientPoints, UnknownCurrency and UnknownMovement as the library does. Its own:

ExceptionRaised whenMessage, for instance
UnexpectedValueExceptionA row of the ledger does not readAn integer column holds string.
LogicExceptionA movement is neither written nor found after its insertion, or a payment's lock row cannot be updated, which only a broken table can causeThe movement "gift:1" is neither written nor found.
InvalidConfigurationExceptionA key of tilttek_points is out of its boundsSymfony's message