Beispiel #1
0
 /**
  * RateLimitExceeded constructor.
  */
 public function __construct()
 {
     parent::__construct("API RateLimit exceeded");
 }
 /**
  * InvalidTimelineToken constructor.
  *
  * @param TimelineToken $token
  */
 public function __construct(TimelineToken $token)
 {
     $this->timelineToken = $token;
     parent::__construct("Invalid Timeline token: " . $token->toString());
 }
Beispiel #3
0
 /**
  * ServiceUnavailable constructor.
  */
 public function __construct()
 {
     parent::__construct("Service unavailable");
 }
Beispiel #4
0
 /**
  * Invalid Pin object
  *
  * @param Pin $pin
  */
 public function __construct(Pin $pin)
 {
     $this->pin = $pin;
     parent::__construct("Invalid Pin object: " . $pin->id());
 }