AuthenticationException.php 643 Bytes
Newer Older
Ketan's avatar
Ketan committed
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29
<?php

/**
 * @copyright  Vertex. All rights reserved.  https://www.vertexinc.com/
 * @author     Mediotype Development         <diveinto@mediotype.com>
 */

namespace Vertex\Exception\ApiException;

use Vertex\Exception\ApiException;

/**
 * Identifies a failure to resolve the Trusted ID / Company Code combination
 *
 * @api
 */
class AuthenticationException extends ApiException
{
    /**
     * @inheritdoc
     */
    public function __construct(
        $message = 'The Vertex Trusted ID or Company Code is incorrect',
        $code = 0,
        $previous = null
    ) {
        parent::__construct($message, $code, $previous);
    }
}