Catching Error Messages

BlitzMax Forums/BlitzMax Programming/Catching Error Messages

The forum is locked. These are the original blitzbasic.com forums, kept so they can still be read. No new topics, replies or edits can be made here. To join in, head over to the Blitz3D+ forums.

Is there a way to get better information from an error message. In the following code, all I get is the error. Is there a way to capture the class name or the function or method that caused the crash?

Catch ex:Object
Print ex.ToString()   
End