Implement 'use default error handling' mechanism for RPC.
Make IO errors better.