WTF kind of cryptic message is this? No fudge nuggets the error was unforeseen or it probably wouldn't be an error (I'd hope you wouldn't expect an error). Nothing is broken, it's just my Elkarte2 repo that I broke but the error message doesn't help at all.
Yeah, at least make it "get your paws off me, you damn dirty ape"
Related note: I hate the autoloader. I am changing it to a PSR-4 compliant version so I don't have to add edge cases every time I want to add a new directory.
I thought that was more to do with our somewhat inconsistent file naming, but if you can de if/else that cool.
Actually, when using try/catch you expect an error... or you even throw it! :P