799 B
799 B
ADDED Requirements
Requirement: Error pages prominently display status code
The system SHALL show prominent HTTP status code display on 404 and 500 pages.
Scenario: 404 rendering
- WHEN user visits a non-existent route
- THEN the page prominently displays
404
Scenario: 500 rendering
- WHEN an internal server error page is rendered
- THEN the page prominently displays
500
Requirement: Error pages include safe playful AI-style messaging
The system SHALL render an "Oh no!" style playful message that is safe and policy-compliant.
Scenario: Safe message selection
- WHEN an error page is displayed
- THEN a playful message is selected from a curated safe message set
- AND message excludes profanity and discriminatory/abusive content