27 lines
975 B
PHP
27 lines
975 B
PHP
<?php
|
|
|
|
// Custom error pages (resources/views/errors/*). Never show a raw status text or
|
|
// stack trace — always a friendly, localized message (R16). English translation.
|
|
return [
|
|
'back_home' => 'Back to dashboard',
|
|
'generic_title' => 'Error',
|
|
|
|
'403_title' => 'Access denied',
|
|
'403_body' => 'You do not have permission to view this page.',
|
|
|
|
'404_title' => 'Page not found',
|
|
'404_body' => 'This page does not exist or has moved.',
|
|
|
|
'419_title' => 'Session expired',
|
|
'419_body' => 'Your session has expired. Please reload the page and sign in again.',
|
|
|
|
'429_title' => 'Too many requests',
|
|
'429_body' => 'Too many requests in a short time. Please wait a moment and try again.',
|
|
|
|
'500_title' => 'Unexpected error',
|
|
'500_body' => 'An unexpected error occurred on the server. Please try again later.',
|
|
|
|
'503_title' => 'Down for maintenance',
|
|
'503_body' => 'Clusev is undergoing maintenance. Please check back shortly.',
|
|
];
|