11 lines
283 B
PHP
11 lines
283 B
PHP
<?php
|
|
|
|
namespace BusinessLogic\Exceptions;
|
|
|
|
class MissingAuthenticationTokenException extends ApiFriendlyException {
|
|
function __construct() {
|
|
parent::__construct("An 'X-Auth-Token' is required for all requests",
|
|
'Security Exception',
|
|
400);
|
|
}
|
|
} |