[calendar] New global error handling (mostly for oauth2)