add expected_exceptions to rpc

ah yes. though i think i would prefer to make the default be `()` on the provider..