What is Nostr?
Drew DeVault /
npub1qka…hctl
2023-09-28 09:11:12
in reply to nevent1q…2943

Drew DeVault on Nostr: npub1ku30m…dqwn9 basically, in Hare you can pass errors up the call stack, but at ...

npub1ku30mphs68tg30c4jj0d80g698resvue70hhrvnawxvdfaq4p0usadqwn9 (npub1ku3…qwn9) basically, in Hare you can pass errors up the call stack, but at some point a frame has to handle them. You can have multiple error handling sites -- a server for instance would probably handle server-level errors differently from client errors, having error handling at the top for server errors (likely fatal) and somewhere in the middle for clients (likely disconnecting the client).

Errors are also just values so you can pass them to shared error handling functions for easier use.
Author Public Key
npub1qka6mt4yr5cv8nem07csya3zavqvefnxxh7fq3c98hmlnf2vkrrsykhctl