るりまサーチ (Ruby 2.3.0)

最速Rubyリファレンスマニュアル検索!
1件ヒット [1-1件を表示] (0.112秒)
トップページ > バージョン:2.3.0[x] > 種類:インスタンスメソッド[x] > クエリ:@[x] > クエリ:x[x] > クエリ:new[x] > クラス:TracePoint[x]

別のキーワード

  1. x509 v_ok
  2. openssl x509
  3. x509 trust_email
  4. x509 purpose_any
  5. x509 trust_compat

ライブラリ

検索結果

TracePoint#raised_exception -> Exception (18643.0)

発生した例外を返します。

...eError :raise イベントのためのイベントフックの外側で実行し
た場合に発生します。

//emlist[例][ruby]{
trace = TracePoint.new(:raise) do |tp|
tp.raised_exception # => #<ZeroDivisionError: divided by 0>
end
trace.enable
begin
0/0
rescue
end
//}...