@Published(tag="architect") public class ErrorResponseBuilder extends Object
--------------------------------------------- -------------------- 例外クラス ステータスコード --------------------------------------------- -------------------- ApplicationException 400 上記以外 500 --------------------------------------------- --------------------
修飾子とタイプ | メソッドと説明 |
---|---|
HttpResponse |
build(HttpRequest request,
ExecutionContext context,
Throwable throwable)
エラーレスポンスを生成する。
|
public HttpResponse build(HttpRequest request, ExecutionContext context, Throwable throwable)
request
- HttpRequest
context
- ExecutionContext
throwable
- 発生したエラーの情報