mirror of
https://github.com/HolgerHatGarKeineNode/einundzwanzig-nostr.git
synced 2025-12-31 01:00:16 +00:00
feat: Add error handling for relay server response and custom error pages
This commit includes the following changes: - Added error handling in the election views to check if the relay server responds with an error message - Included custom error pages for different HTTP status codes (401, 402, 403, 404, 419, 429, 500, 503) - Created a new layout for the error pages
This commit is contained in:
5
resources/views/errors/429.blade.php
Normal file
5
resources/views/errors/429.blade.php
Normal file
@@ -0,0 +1,5 @@
|
||||
@extends('errors::minimal')
|
||||
|
||||
@section('title', __('Too Many Requests'))
|
||||
@section('code', '429')
|
||||
@section('message', __('Too Many Requests'))
|
||||
Reference in New Issue
Block a user