codewillclick / obparity

simple node.js library for creating objects that exist in tandem between client (browser) and server
MIT License
0 stars 0 forks source link

HTTP status error handling #15

Open codewillclick opened 3 years ago

codewillclick commented 3 years ago

There's none of this, right now. It kind of just... lets Errors be thrown wherever. Simple, but not ideal.

Maybe if there was a callback for handling these things... Or maybe just letting functions throw their own errors is the right way to go in a library this small.

I'll think about it.