a33ae8ff628b2e06e3323ece6cc0defbd44ae9c3
[WP-Plugins/glm-member-db-registrations.git] /
1 <?php
2 namespace PayPal\Exception;
3
4 class PPMissingCredentialException 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
15                 return $errorMsg;
16         }
17
18 }