concept stack trace in category ruby

This is an excerpt from Manning's book The Well-Grounded Rubyist, Third Edition.
The error message here is four lines long, beginning with a traceback. This represents the stack trace, a series of messages shown when an error is encountered by Ruby. When executing Ruby programs, the traceback is often useful for debugging—understanding where things went wrong. In our small irb examples, it will mostly prove uninformative or redundant, so we’ll typically shorten it to show just the most useful line or two.
A brief example: if your program encounters an error, you’ve seen ways that you can rescue that error. But what if you want to take a certain action depending on where in your program that error was raised? In Ruby, you can! You can examine a stack trace to determine what method calls got you to a particular point in your program and get access to the filenames and line numbers of all the method calls along the way.
The caller method provides an array of strings. Each string represents one step in the stack trace: a description of a single method call along the way to where you are now. The strings contain information about the file or program where the method call was made, the line on which the method call occurred, and the method from which the current method was called, if any.