ガイド > SSR編 に 集約エラーハンドラーの実装 を追加#3970
Merged
tsuna-can-se merged 23 commits intomainfrom Dec 23, 2025
Hidden character warning
The head ref may contain hidden characters: "feature/\u30ac\u30a4\u30c9SSR\u7de8\u306b\u96c6\u7d04\u30a8\u30e9\u30fc\u30cf\u30f3\u30c9\u30e9\u30fc\u306e\u5b9f\u88c5\u3092\u8ffd\u52a0"
Merged
Conversation
KentaHizume
commented
Dec 2, 2025
Contributor
There was a problem hiding this comment.
Pull request overview
このPRは、SSR Blazor アプリケーションにおける集約エラーハンドラーの実装ガイドを追加するものです。.NET ランタイムと Blazor ランタイムの両方で発生する未処理例外をキャッチし、適切なエラーページに遷移する機能の実装方法を解説しています。
- MkDocs のナビゲーション設定を更新し、新しいガイドページを有効化
- Error.razor コンポーネントと ServerError.cshtml ページの実装方法を解説
- ErrorBoundary を使用した Blazor ランタイム例外のハンドリング方法を説明
Reviewed changes
Copilot reviewed 3 out of 3 changed files in this pull request and generated 7 comments.
| File | Description |
|---|---|
| documents/mkdocs.yml | 集約エラーハンドラーのガイドページをナビゲーションに追加(コメントアウトを解除し、ファイル名を更新) |
| documents/contents/guidebooks/how-to-develop/ssr/index.md | インデックスページに集約エラーハンドラーのガイドへのリンクを追加 |
| documents/contents/guidebooks/how-to-develop/ssr/centralized-error-handling.md | 集約エラーハンドラーの実装に関する包括的なガイドドキュメントを新規追加(レイアウト変更、エラーコンポーネント、エラーページ、エントリーポイント設定、動作確認方法を含む) |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
You can also share your feedback on Copilot code review for a chance to win a $100 gift card. Take the survey.
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
…rror-handling.md Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
…/AlesInfiny/maris into feature/ガイドSSR編に集約エラーハンドラーの実装を追加
tsuna-can-se
requested changes
Dec 2, 2025
Co-authored-by: tsuna-can-se <61451753+tsuna-can-se@users.noreply.github.com>
tsuna-can-se
requested changes
Dec 23, 2025
・動作確認に用いたコードは削除するように明記
tsuna-can-se
approved these changes
Dec 23, 2025
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
この Pull request で実施したこと
SSR編のガイドに集約エラーハンドラーの実装 を追加しました。
このガイドを実施することで、 .NET ランタイム内で発生した未処理の例外と、 Blazor ランタイム内で発生した未処理の例外をキャッチし、エラー画面へ遷移する共通機能が実装できます。
この Pull request では実施していないこと
Error.razor コンポーネントに対するテストについてはガイドで言及していません。
Issues や Discussions 、関連する Web サイトなどへのリンク
対応する実装の変更は下記の PR です。