Create New Item
Item Type
File
Folder
Item Name
Search file in folder and subfolders...
Are you sure want to rename?
File Manager
/
core
/
vendor
/
paypal
/
rest-api-sdk-php
/
lib
/
PayPal
/
Exception
:
PayPalInvalidCredentialException.php
Advanced Search
Upload
New Item
Settings
Back
Back Up
Advanced Editor
Save
<?php namespace PayPal\Exception; /** * Class PayPalInvalidCredentialException * * @package PayPal\Exception */ class PayPalInvalidCredentialException extends \Exception { /** * Default Constructor * * @param string|null $message * @param int $code */ public function __construct($message = null, $code = 0) { parent::__construct($message, $code); } /** * prints error message * * @return string */ public function errorMessage() { $errorMsg = 'Error on line ' . $this->getLine() . ' in ' . $this->getFile() . ': <b>' . $this->getMessage() . '</b>'; return $errorMsg; } }