@@ -21,7 +21,7 @@ |
||
| 21 | 21 | header('404 Not Found', 404); |
| 22 | 22 | } catch(\LunixREST\Exceptions\AccessDeniedException $e){ |
| 23 | 23 | header('403 Access Denied', 403); |
| 24 | - } catch(\LunixREST\Exceptions\ThrottleLimitExceededException $e){ |
|
| 24 | + } catch(\LunixREST\Exceptions\ThrottleLimitExceededException $e){ |
|
| 25 | 25 | header('429 Too Many Requests', 429); |
| 26 | 26 | } catch(\LunixREST\Exceptions\InvalidResponseFormatException $e){ |
| 27 | 27 | header('500 Internal Server Error', 500); |
@@ -23,7 +23,7 @@ |
||
| 23 | 23 | header('404 Not Found', true, 404); |
| 24 | 24 | } catch(\LunixREST\Exceptions\AccessDeniedException $e){ |
| 25 | 25 | header('403 Access Denied', true, 403); |
| 26 | - } catch(\LunixREST\Exceptions\ThrottleLimitExceededException $e){ |
|
| 26 | + } catch(\LunixREST\Exceptions\ThrottleLimitExceededException $e){ |
|
| 27 | 27 | header('429 Too Many Requests', true, 429); |
| 28 | 28 | } catch(Exception|Error $e){ |
| 29 | 29 | header('500 Internal Server Error', true, 500); |