PayPalExceptionPayPalInvalidCredentialException

Class PayPalInvalidCredentialException.

Defined (1)

The class is defined in the following location(s).

/classes/lib/PayPal/Exception/PayPalInvalidCredentialException.php  
  1. class PayPalInvalidCredentialException extends \Exception 
  2.  
  3. /** 
  4. * Default Constructor 
  5. * @param string|null $message 
  6. * @param int $code 
  7. */ 
  8. public function __construct($message = null, $code = 0) 
  9. parent::__construct($message, $code); 
  10.  
  11. /** 
  12. * prints error message 
  13. * @return string 
  14. */ 
  15. public function errorMessage() 
  16. $errorMsg = 'Error on line ' . $this->getLine() . ' in ' . $this->getFile() 
  17. . ': <b>' . $this->getMessage() . '</b>'; 
  18. return $errorMsg; 
  19.