1

I was trying to document the possible errors that could occur as a result of a remote procedure call (RPC).

It occurred to me that it might be nice if you could do this with a little magic. Is there anything in python to infer possible exceptions (kinda like checked exceptions in java).

I'm a little afraid of how complicated astroid and friends can be though...

I'm thinking of using some hideous hacks in unit tests for this..

Possible interesting links

Att Righ
  • 1,439
  • 1
  • 16
  • 29

0 Answers0