インターフェース ErrorAttributes
- すべての既知の実装クラス:
DefaultErrorAttributes
public interface ErrorAttributes
ログに記録したり、ユーザーに提示したりできるエラー属性へのアクセスを提供します。
- 導入:
- 2.0.0
- 作成者:
- Phillip Webb, Scott Frederick
- 関連事項:
メソッドのサマリー
修飾子と型メソッド説明getError
(WebRequest webRequest) エラーの根本的な原因を返すか、エラーを抽出できない場合はnull
を返します。getErrorAttributes
(WebRequest webRequest, ErrorAttributeOptions options) エラー属性のMap
SE を返します。
メソッドの詳細
getErrorAttributes
default MapSE<StringSE,ObjectSE> getErrorAttributes(WebRequest webRequest, ErrorAttributeOptions options) - パラメーター:
webRequest
- ソースリクエストoptions
- エラー属性コンテンツのオプション- 戻り値:
- エラー属性のマップ
- 導入:
- 2.3.0
getError
エラーの根本的な原因を返すか、エラーを抽出できない場合はnull
を返します。- パラメーター:
webRequest
- ソースリクエスト- 戻り値:
- エラーまたは
null
の原因となったException
SE