c49217328b62563c201bfb2f20dea8f709d37643
[WP-Plugins/glm-member-db-registrations.git] /
1 <?php
2 namespace PayPal\Exception;
3
4 class PPInvalidCredentialException extends \Exception{
5
6         public function __construct($message = null, $code = 0) {
7                 parent::__construct($message, $code);
8         }
9         
10         public function errorMessage()
11         {
12                 $errorMsg = 'Error on line '.$this->getLine().' in '.$this->getFile()
13                 .': <b>'.$this->getMessage().'</b>';
14                 return $errorMsg;
15         }
16
17 }