-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #2167 from alphagov/add-missing-error-pages
Add missing pages for known errors
- Loading branch information
Showing
17 changed files
with
60 additions
and
30 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
<%= render partial: "error_page", locals: { | ||
title: "Unauthorized", | ||
heading: "You are not permitted to access this page", | ||
intro: '<p>This page is restricted to certain users only.</p>', | ||
status_code: 401 | ||
} %> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
<%= render partial: "error_page", locals: { | ||
title: "Method not allowed", | ||
heading: "You are not permitted to perform this action", | ||
intro: '<p>This page does not support the action you requested.</p>', | ||
status_code: 405 | ||
} %> | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
<%= render partial: "error_page", locals: { | ||
title: "Sorry, there was a problem", | ||
heading: "Sorry, there was a problem", | ||
intro: '<p>You have made too many requests to this page.</p> | ||
<p>Try again later.</p>', | ||
status_code: 429 | ||
} %> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,6 @@ | ||
<%= render partial: "error_page", locals: {status_code: 500} %> | ||
<%= render partial: "error_page", locals: { | ||
title: "Sorry, we're experiencing technical difficulties", | ||
heading: "Sorry, we're experiencing technical difficulties", | ||
intro: "<p>Please try again in a few moments.</p>", | ||
status_code: 500 | ||
} %> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,6 @@ | ||
<%= render partial: "error_page", locals: {status_code: 501} %> | ||
<%= render partial: "error_page", locals: { | ||
title: "Sorry, we're experiencing technical difficulties", | ||
heading: "Sorry, we're experiencing technical difficulties", | ||
intro: "<p>Please try again in a few moments.</p>", | ||
status_code: 501 | ||
} %> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,6 @@ | ||
<%= render partial: "error_page", locals: {status_code: 503} %> | ||
<%= render partial: "error_page", locals: { | ||
title: "Sorry, we're experiencing technical difficulties", | ||
heading: "Sorry, we're experiencing technical difficulties", | ||
intro: "<p>Please try again in a few moments.</p>", | ||
status_code: 503 | ||
} %> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,6 @@ | ||
<%= render partial: "error_page", locals: {status_code: 504} %> | ||
<%= render partial: "error_page", locals: { | ||
title: "Sorry, we're experiencing technical difficulties", | ||
heading: "Sorry, we're experiencing technical difficulties", | ||
intro: "<p>Please try again in a few moments.</p>", | ||
status_code: 504 | ||
} %> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters