るりまサーチ (Ruby 2.3.0)

最速Rubyリファレンスマニュアル検索!
1件ヒット [1-1件を表示] (0.066秒)
トップページ > バージョン:2.3.0[x] > クエリ:l[x] > クエリ:response[x] > クエリ:set_error[x]

別のキーワード

  1. response new
  2. net/http get_response
  3. http get_response
  4. net/http response
  5. imap add_response_handler

ライブラリ

クラス

検索結果

WEBrick::HTTPResponse#set_error(status, backtrace = false) -> () (63604.0)

自身の内容(エンティティボディ)を指定された status のエラーページにします。

自身の内容(エンティティボディ)を指定された status のエラーページにします。

@param status WEBrick::HTTPStatus::Status のサブクラスか一般の例外クラスを指定します。

@param backtrace true を指定した場合バックトレースをエラーページに出力します。