throw exceptions on server error in `GoogleClosure`