-=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- (c) WidthPadding Industries 1987 0|603|0 -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=-
SoCoder -> Snippet Home -> Misc


 
mindstorm8191
Created : 14 May 2010
 
System : Windows
Language : Blitz

Error module

handles errors, part of Mindstorm's collection

I have a load of different modules, and I thought I'd start sharing them here. The first is the Error module, basically a simple wrapper system to manage errors. A lot of my modules use it, so while this one may not be the most valuable, I think it should be up first, so there's no other conflicts with people using my modules.



Umm... may look better formatted in the blitz editor. Have fun!

 

Comments


Friday, 14 May 2010, 10:42
Phoenix
If you have many of these files, why not place them all in a showcase? I'm not sure I'd call this a code snippet; I think it would be more useful if it was collected in one place along with the others.
Friday, 14 May 2010, 12:00
Cower
This probably doesn't need a showcase, given how small it is.
Friday, 14 May 2010, 12:15
JL235
I like how well documented it is. Even if it's small, it's good to write code properly!
Friday, 14 May 2010, 17:23
Phoenix
I didn't mean that this piece of code alone should be a showcase, but he did say that he has "a load of different modules" so I thought it would make sense to group them in a showcase.
Friday, 14 May 2010, 20:00
mindstorm8191
JL, thanks for the compliment. Phoenix, maybe I should put it into a showcase, since I do have a bunch, and several modules are stretched over several files (they're kinda large tools). But at the same time, if I put them all into a single showcase, I don't think people will know the benefits of each module. Its like 3-4 MB of source (I put alot of work into these, too). I could put it all into one showcase, and then describe each one here, but that's a lot of work too... what do you think I should do?
Saturday, 15 May 2010, 05:32
Phoenix
Do it whichever way you find structures the code the best.