Mods-for-HESK-Netsyms/api/BusinessLogic/Exceptions/InvalidAuthenticationTokenException.php

12 lines
320 B
PHP
Raw Normal View History

<?php
namespace BusinessLogic\Exceptions;
2017-01-30 22:10:14 -05:00
class InvalidAuthenticationTokenException extends ApiFriendlyException {
public function __construct() {
2017-01-30 22:10:14 -05:00
parent::__construct('The X-Auth-Token is invalid. The token must be for an active helpdesk user.',
'Security Exception',
401);
}
}