* @copyright Since 2007 PrestaShop SA and Contributors * @license https://opensource.org/licenses/AFL-3.0 Academic Free License version 3.0 */ namespace PrestaShop\Module\PsAccounts\Exception\AccountLogin; use PrestaShop\OAuth2\Client\Provider\PrestaShopUser; class EmployeeNotFoundException extends AccountLoginException { /** * @param string $message * @param PrestaShopUser|null $user * @param \Exception $previous */ public function __construct( $message = 'The email address is not associated to a PrestaShop backoffice account.', PrestaShopUser $user = null, \Exception $previous = null ) { parent::__construct($message, $user, $previous); $this->type = 'employee_not_found'; } }