Ancestors

Toot

Written by Scott Chamberlain on 2024-10-31 at 16:31

[#]rstats Is there a best practice or just opinions for how to present errors?

e.g. in https://gist.github.com/sckott/4d220f06cead8dc8a4d8ee2dbce5546a some_fun1 points to actual fxn where error occured & last_trace points to it as well. Whereas some_fun2 points to the user facing fxn, but need last_trace(drop=FALSE) 4 where

I feel like some_fun1 is better b/c you have to jump through fewer hoops to find the actual source of the error, but maybe some_fun2 is considered better for users? maybe there's a some_fun3 that's even better 🤷‍♂️

=> More informations about this toot | More toots from sckottie@fosstodon.org

Descendants

Proxy Information
Original URL
gemini://mastogem.picasoft.net/thread/113402990394878141
Status Code
Success (20)
Meta
text/gemini
Capsule Response Time
238.74059 milliseconds
Gemini-to-HTML Time
0.460886 milliseconds

This content has been proxied by September (3851b).