add custom exceptions handling controller
This commit is contained in:
@@ -1,66 +0,0 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<title>The page you were looking for doesn't exist (404)</title>
|
||||
<meta name="viewport" content="width=device-width,initial-scale=1">
|
||||
<style>
|
||||
.error-page {
|
||||
background-color: #FAF7F4;
|
||||
color: #2E2F30;
|
||||
text-align: center;
|
||||
font-family: arial, sans-serif;
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
.error-page h1 {
|
||||
font-weight: 700;
|
||||
font-size: 3em;
|
||||
color: #291434;
|
||||
margin: 0 0 0.1em;
|
||||
}
|
||||
|
||||
.error-page h2 {
|
||||
font-weight: 700;
|
||||
font-size: 10em;
|
||||
color: #3BBFF7;
|
||||
margin: 0 0 0.1em;
|
||||
}
|
||||
|
||||
.error-page h3 {
|
||||
font-weight: 600;
|
||||
font-size: 1.75em;
|
||||
color: #291434;
|
||||
margin: 0.5em 0;
|
||||
}
|
||||
|
||||
.error-page a.btn {
|
||||
display: inline-block;
|
||||
width: auto;
|
||||
background-color: #291434;
|
||||
padding: 1em 1.5em;
|
||||
border-radius: 25px;
|
||||
color: #ffffff;
|
||||
text-decoration: none;
|
||||
margin: 1em 0;
|
||||
text-transform: uppercase;
|
||||
}
|
||||
|
||||
.error-page div.dialog {
|
||||
width: 95%;
|
||||
max-width: 33em;
|
||||
margin: 6em auto 0;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
|
||||
<body class="error-page">
|
||||
<div class="dialog">
|
||||
<div>
|
||||
<h1>DocuSeal</h1>
|
||||
<h2>404</h2>
|
||||
<h3>Sorry, we couldn't find this page.</h3>
|
||||
</div>
|
||||
<a rel="noopener noreferrer" href="/" class="btn">Back to homepage</a>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
@@ -1,66 +0,0 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<title>The change you wanted was rejected (422)</title>
|
||||
<meta name="viewport" content="width=device-width,initial-scale=1">
|
||||
<style>
|
||||
.error-page {
|
||||
background-color: #FAF7F4;
|
||||
color: #2E2F30;
|
||||
text-align: center;
|
||||
font-family: arial, sans-serif;
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
.error-page h1 {
|
||||
font-weight: 700;
|
||||
font-size: 3em;
|
||||
color: #291434;
|
||||
margin: 0 0 0.1em;
|
||||
}
|
||||
|
||||
.error-page h2 {
|
||||
font-weight: 700;
|
||||
font-size: 10em;
|
||||
color: #FABE22;
|
||||
margin: 0 0 0.1em;
|
||||
}
|
||||
|
||||
.error-page h3 {
|
||||
font-weight: 600;
|
||||
font-size: 1.75em;
|
||||
color: #291434;
|
||||
margin: 0.5em 0;
|
||||
}
|
||||
|
||||
.error-page a.btn {
|
||||
display: inline-block;
|
||||
width: auto;
|
||||
background-color: #291434;
|
||||
padding: 1em 1.5em;
|
||||
border-radius: 25px;
|
||||
color: #ffffff;
|
||||
text-decoration: none;
|
||||
margin: 1em 0;
|
||||
text-transform: uppercase;
|
||||
}
|
||||
|
||||
.error-page div.dialog {
|
||||
width: 95%;
|
||||
max-width: 33em;
|
||||
margin: 6em auto 0;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
|
||||
<body class="error-page">
|
||||
<div class="dialog">
|
||||
<div>
|
||||
<h1>DocuSeal</h1>
|
||||
<h2>422</h2>
|
||||
<h3>You're not allowed to access this page</h3>
|
||||
</div>
|
||||
<a rel="noopener noreferrer" href="/" class="btn">Back to homepage</a>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
@@ -1,66 +0,0 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<title>We're sorry, but something went wrong (500)</title>
|
||||
<meta name="viewport" content="width=device-width,initial-scale=1">
|
||||
<style>
|
||||
.error-page {
|
||||
background-color: #FAF7F4;
|
||||
color: #2E2F30;
|
||||
text-align: center;
|
||||
font-family: arial, sans-serif;
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
.error-page h1 {
|
||||
font-weight: 700;
|
||||
font-size: 3em;
|
||||
color: #291434;
|
||||
margin: 0 0 0.1em;
|
||||
}
|
||||
|
||||
.error-page h2 {
|
||||
font-weight: 700;
|
||||
font-size: 10em;
|
||||
color: #F97272;
|
||||
margin: 0 0 0.1em;
|
||||
}
|
||||
|
||||
.error-page h3 {
|
||||
font-weight: 600;
|
||||
font-size: 1.75em;
|
||||
color: #291434;
|
||||
margin: 0.5em 0;
|
||||
}
|
||||
|
||||
.error-page a.btn {
|
||||
display: inline-block;
|
||||
width: auto;
|
||||
background-color: #291434;
|
||||
padding: 1em 1.5em;
|
||||
border-radius: 25px;
|
||||
color: #ffffff;
|
||||
text-decoration: none;
|
||||
margin: 1em 0;
|
||||
text-transform: uppercase;
|
||||
}
|
||||
|
||||
.error-page div.dialog {
|
||||
width: 95%;
|
||||
max-width: 33em;
|
||||
margin: 6em auto 0;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
|
||||
<body class="error-page">
|
||||
<div class="dialog">
|
||||
<div>
|
||||
<h1>DocuSeal</h1>
|
||||
<h2>500</h2>
|
||||
<h3>We're sorry, but something went wrong</h3>
|
||||
</div>
|
||||
<a rel="noopener noreferrer" href="/" class="btn">Back to homepage</a>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user