Some changes to improve overall UX
parent
ee4ba00fe9
commit
39c5886880
@ -0,0 +1,10 @@
|
||||
<?php
|
||||
|
||||
namespace BusinessLogic\Exceptions;
|
||||
|
||||
|
||||
class AccessViolationException extends ApiFriendlyException {
|
||||
function __construct($message) {
|
||||
parent::__construct($message, 'Access Exception', 403);
|
||||
}
|
||||
}
|
@ -1,14 +0,0 @@
|
||||
<?php
|
||||
|
||||
namespace BusinessLogic\Statuses;
|
||||
|
||||
|
||||
class StatusLanguage {
|
||||
public $language;
|
||||
public $text;
|
||||
|
||||
function __construct($language, $text) {
|
||||
$this->language = $language;
|
||||
$this->text = $text;
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue