Skip to content

ガイド > SSR編 に 集約エラーハンドラーの実装 を追加#3970

Merged
tsuna-can-se merged 23 commits intomainfrom
feature/ガイドSSR編に集約エラーハンドラーの実装を追加
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

ガイド > SSR編 に 集約エラーハンドラーの実装 を追加#3970
tsuna-can-se merged 23 commits intomainfrom
feature/ガイドSSR編に集約エラーハンドラーの実装を追加

Conversation

@KentaHizume
Copy link
Copy Markdown
Contributor

@KentaHizume KentaHizume commented Dec 2, 2025

この Pull request で実施したこと

SSR編のガイドに集約エラーハンドラーの実装 を追加しました。
このガイドを実施することで、 .NET ランタイム内で発生した未処理の例外と、 Blazor ランタイム内で発生した未処理の例外をキャッチし、エラー画面へ遷移する共通機能が実装できます。

この Pull request では実施していないこと

Error.razor コンポーネントに対するテストについてはガイドで言及していません。

Issues や Discussions 、関連する Web サイトなどへのリンク

対応する実装の変更は下記の PR です。

@KentaHizume KentaHizume added this to the v2.0.0 milestone Dec 2, 2025
@KentaHizume KentaHizume added the target: ガイド/AP開発手順 ドキュメントのガイド/アプリケーション開発手順に関係がある label Dec 2, 2025
@KentaHizume KentaHizume self-assigned this Dec 2, 2025
@KentaHizume KentaHizume marked this pull request as ready for review December 2, 2025 07:53
Copilot AI review requested due to automatic review settings December 2, 2025 07:53
Comment thread documents/contents/guidebooks/how-to-develop/ssr/centralized-error-handling.md Outdated
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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.

Comment thread documents/contents/guidebooks/how-to-develop/ssr/centralized-error-handling.md Outdated
Comment thread documents/contents/guidebooks/how-to-develop/ssr/centralized-error-handling.md Outdated
Comment thread documents/contents/guidebooks/how-to-develop/ssr/centralized-error-handling.md Outdated
Comment thread documents/contents/guidebooks/how-to-develop/ssr/centralized-error-handling.md Outdated
Comment thread documents/contents/guidebooks/how-to-develop/ssr/centralized-error-handling.md Outdated
Comment thread documents/contents/guidebooks/how-to-develop/ssr/centralized-error-handling.md Outdated
KentaHizume and others added 7 commits December 2, 2025 20:43
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>
Comment thread documents/contents/guidebooks/how-to-develop/ssr/centralized-error-handling.md Outdated
Comment thread documents/contents/guidebooks/how-to-develop/ssr/centralized-error-handling.md Outdated
Comment thread documents/contents/guidebooks/how-to-develop/ssr/centralized-error-handling.md Outdated
Comment thread documents/contents/guidebooks/how-to-develop/ssr/centralized-error-handling.md Outdated
Comment thread documents/contents/guidebooks/how-to-develop/ssr/centralized-error-handling.md Outdated
Comment thread documents/contents/guidebooks/how-to-develop/ssr/centralized-error-handling.md Outdated
・動作確認に用いたコードは削除するように明記
@tsuna-can-se tsuna-can-se merged commit a0f5846 into main Dec 23, 2025
7 checks passed
@tsuna-can-se tsuna-can-se deleted the feature/ガイドSSR編に集約エラーハンドラーの実装を追加 branch December 23, 2025 07:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

target: ガイド/AP開発手順 ドキュメントのガイド/アプリケーション開発手順に関係がある

Projects

None yet

Development

Successfully merging this pull request may close these issues.

AP開発手順 > SSR編 > 集約エラーハンドラーの実装 を追加

3 participants