ChanServ changed the topic of #sandstorm to: Welcome to #sandstorm: home of all things Sandstorm and Cap'n Proto. Say hi! | Have a question but no one is here? Try asking in the discussion group: https://groups.google.com/group/sandstorm-dev | Channel logs available at https://libera.irclog.whitequark.org/sandstorm
<fr33domlover> isd: cool! great news for me ^_^
<fr33domlover> isd: is there a standard mechanism for exceptions in Cap'n Proto? I mean, if I leave multiple kinds of possible errors to be communicated via exception rather than the return type of a method, how do I catch and analyze the exception to know what exactly happened? Or should I reserve exceptions for those more fatal cases where program behavior
<fr33domlover> doesn't depend on the kind of error?
<isd> The capnp philosophy is that errors are more for "faults," yeah -- there's a fixed set of them, see Capnp.Rpc.Errors, or the Exception type defined in rpc.capnp
<isd> If you need structured information you generally want to use the return value
<isd> Inspecting exceptions is good for dealing with disconnects & version skew, but isn't designed for "application level" errors
<fr33domlover> Thanks for explaining :)
<fr33domlover> I finally got an approval for the funding, expecting an exciting year of forge federation work ^_^
<ocdtrekkie> Is the persistence helpers something that will make sense to implement in other capnp implementations in a common way?
<ocdtrekkie> Congratulations!
<isd> Jacob Weisz: the bits that are relevant at the protocol, definitely, though that's partially specified already; see persistent.capnp
<isd> But there's also just "put stuff in the library to make this not require as much boilerplate"
<isd> fr33domlover: also: while I can't promise any particular level of responsiveness, please do speak up about things in the API that are lacking; I've gotten relatively little feedback from users on haskell-capnp, so I assume the API has problems but I don't know what they all are. Open issues.
mnutt_ has quit [Remote host closed the connection]
pie_ has quit []
pie_ has joined #sandstorm
pie_ has quit [Client Quit]
mnutt has joined #sandstorm
mnutt has quit [Remote host closed the connection]
mnutt has joined #sandstorm
pie_ has joined #sandstorm
mnutt has quit [Remote host closed the connection]
mnutt has joined #sandstorm
mnutt has quit [Remote host closed the connection]
mnutt has joined #sandstorm
mnutt has quit [Remote host closed the connection]
mnutt has joined #sandstorm
mnutt has quit [Remote host closed the connection]
mnutt has joined #sandstorm
mnutt has quit [Ping timeout: 272 seconds]
mnutt has joined #sandstorm
mnutt has quit [Remote host closed the connection]
mnutt has joined #sandstorm
mnutt has quit [Remote host closed the connection]
mnutt has joined #sandstorm