PHP 8.2.31
Preview: backtrace-i.yaml Size: 796 B
/proc/thread-self/root/opt/alt/ruby18/share/ri/1.8/system/Exception/backtrace-i.yaml

--- !ruby/object:RI::MethodDescription 
aliases: []

block_params: 
comment: 
- !ruby/struct:SM::Flow::P 
  body: "Returns any backtrace associated with the exception. The backtrace is an array of strings, each containing either ``filename:lineNo: in `method''' or ``filename:lineNo.''"
- !ruby/struct:SM::Flow::VERB 
  body: "   def a\n     raise "boom"\n   end\n\n   def b\n     a()\n   end\n\n   begin\n     b()\n   rescue => detail\n     print detail.backtrace.join("\\n")\n   end\n"
- !ruby/struct:SM::Flow::P 
  body: <em>produces:</em>
- !ruby/struct:SM::Flow::VERB 
  body: "   prog.rb:2:in `a'\n   prog.rb:6:in `b'\n   prog.rb:10\n"
full_name: Exception#backtrace
is_singleton: false
name: backtrace
params: |
  exception.backtrace    => array

visibility: public

Directory Contents

Dirs: 0 × Files: 12

Name Size Perms Modified Actions
796 B lrw-r--r-- 2023-07-26 13:47:05
Edit Download
1.15 KB lrw-r--r-- 2023-07-26 13:47:05
Edit Download
473 B lrw-r--r-- 2023-07-26 13:47:05
Edit Download
473 B lrw-r--r-- 2023-07-26 13:47:05
Edit Download
285 B lrw-r--r-- 2023-07-26 13:47:05
Edit Download
477 B lrw-r--r-- 2023-07-26 13:47:05
Edit Download
309 B lrw-r--r-- 2023-07-26 13:47:05
Edit Download
433 B lrw-r--r-- 2023-07-26 13:47:05
Edit Download
312 B lrw-r--r-- 2023-07-26 13:47:05
Edit Download
475 B lrw-r--r-- 2023-07-26 13:47:05
Edit Download
182 B lrw-r--r-- 2023-07-26 13:47:05
Edit Download
190 B lrw-r--r-- 2023-07-26 13:47:05
Edit Download

If ZipArchive is unavailable, a .tar will be created (no compression).