Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
特定のエラーをスローしたときに特定の応答を返したいです。例:
次のような投げの場合:
throw new NotAllowedForUnconfirmedEmail();
各コントローラーでキャッチ スローを行うことなく、パーソナライズされたデータを含む json 応答を自動的に送信します。出来ますか ?