Search found 3 matches
- Mon Aug 01, 2022 4:43 am
- Forum: Libraries and Tools
- Topic: Catcher - better errorhandler implementation and debugging utilities
- Replies: 5
- Views: 3894
Re: Catcher - better errorhandler implementation and debugging utilities
fmt.frame:gsub("%%(%w+)", {...}) That's a very nice interpolation hack. I've updated the attachment with some changes: better formatting options, and a change to how locals are collected is the most of it, the latter change cleaned up a lot of indexing spaghetti, so that's good. Other tha...
- Thu Jul 28, 2022 6:30 pm
- Forum: Libraries and Tools
- Topic: Catcher - better errorhandler implementation and debugging utilities
- Replies: 5
- Views: 3894
Re: Catcher - better errorhandler implementation and debugging utilities
Btw, the example has an error. love.errorhandling should be love.errorhandler. Fixed. I feel like the format parameters should be custom for the library though I agree, it came to mind at one point but the effort to get string interpolation working made me put it to the side. Getting formatting wor...
- Thu Jul 28, 2022 10:58 am
- Forum: Libraries and Tools
- Topic: Catcher - better errorhandler implementation and debugging utilities
- Replies: 5
- Views: 3894
Catcher - better errorhandler implementation and debugging utilities
Catcher (tried to keep in line with LOVE library naming conventions :ultrahappy:) is a currently small library that primarily implements a replacement for love.errorhandler, since I find it a bit lacking (I think it's been neglected in general). The default function displays the error message and tr...