How do you catch errors?

BlitzMax Forums/BlitzMax Programming/How do you catch errors?

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.

It does not throw one. Blitz standard behavior is returning 0, null, "" if something does not work. It only throws error on stuff where a not catched error would have serious consequences.

You would need to write your own wrapping functions that throw the needed exceptions ... :(

*BM is still far too much focused around the old blitz way of doing stuff and procedural and missing many of the OO capabilities and Pros*