40 lines
879 B
PHP
40 lines
879 B
PHP
<?php
|
|
|
|
return [
|
|
|
|
'401' => [
|
|
'title' => 'Unauthorized',
|
|
'message' => 'Authorization required to access this page.'
|
|
],
|
|
|
|
'403' => [
|
|
'title' => 'Forbidden',
|
|
'message' => 'You dont have permission to access this page.'
|
|
],
|
|
|
|
'404' => [
|
|
'title' => 'Page not found',
|
|
'message' => 'The page could not be found'
|
|
],
|
|
|
|
'419' => [
|
|
'title' => 'Page Expired',
|
|
'message' => 'Sorry, your session has expired, Please refresh and try again.'
|
|
],
|
|
|
|
'429' => [
|
|
'title' => 'Too Many Requests',
|
|
'message' => 'Too many requests was sent during a short period of time, wait a while and try again!'
|
|
],
|
|
|
|
'500' => [
|
|
'title' => 'Server Error',
|
|
'message' => 'The server encounterd an error. Try again or contact the server owner.'
|
|
],
|
|
|
|
'503' => [
|
|
'title' => 'Service Unavailable',
|
|
'message' => 'The server could not handle the request, wait a while and try again.'
|
|
],
|
|
|
|
];
|