Allow `Error` instances to be thrown in remote methods