@@ -51,7 +51,7 @@ final api = VrchatDartGenerated().getAuthenticationApi();
5151try {
5252 final response = api.cancelPending2FA();
5353 print(response);
54- } catch on DioException (e) {
54+ } on DioException catch (e) {
5555 print('Exception when calling AuthenticationApi->cancelPending2FA: $e\n');
5656}
5757```
@@ -94,7 +94,7 @@ final String excludeUserId = excludeUserId_example; // String | Exclude by UserI
9494try {
9595 final response = api.checkUserExists(email, displayName, username, excludeUserId);
9696 print(response);
97- } catch on DioException (e) {
97+ } on DioException catch (e) {
9898 print('Exception when calling AuthenticationApi->checkUserExists: $e\n');
9999}
100100```
@@ -140,7 +140,7 @@ final String verifyEmail = eml_00000000-0000-0000-0000-000000000000; // String |
140140
141141try {
142142 api.confirmEmail(id, verifyEmail);
143- } catch on DioException (e) {
143+ } on DioException catch (e) {
144144 print('Exception when calling AuthenticationApi->confirmEmail: $e\n');
145145}
146146```
@@ -188,7 +188,7 @@ final CreateAvatarModerationRequest createAvatarModerationRequest = ; // CreateA
188188try {
189189 final response = api.createGlobalAvatarModeration(createAvatarModerationRequest);
190190 print(response);
191- } catch on DioException (e) {
191+ } on DioException catch (e) {
192192 print('Exception when calling AuthenticationApi->createGlobalAvatarModeration: $e\n');
193193}
194194```
@@ -236,7 +236,7 @@ final AvatarModerationType avatarModerationType = ; // AvatarModerationType | Th
236236try {
237237 final response = api.deleteGlobalAvatarModeration(targetAvatarId, avatarModerationType);
238238 print(response);
239- } catch on DioException (e) {
239+ } on DioException catch (e) {
240240 print('Exception when calling AuthenticationApi->deleteGlobalAvatarModeration: $e\n');
241241}
242242```
@@ -284,7 +284,7 @@ final String userId = userId_example; // String | Must be a valid user ID.
284284try {
285285 final response = api.deleteUser(userId);
286286 print(response);
287- } catch on DioException (e) {
287+ } on DioException catch (e) {
288288 print('Exception when calling AuthenticationApi->deleteUser: $e\n');
289289}
290290```
@@ -330,7 +330,7 @@ final api = VrchatDartGenerated().getAuthenticationApi();
330330try {
331331 final response = api.disable2FA();
332332 print(response);
333- } catch on DioException (e) {
333+ } on DioException catch (e) {
334334 print('Exception when calling AuthenticationApi->disable2FA: $e\n');
335335}
336336```
@@ -373,7 +373,7 @@ final api = VrchatDartGenerated().getAuthenticationApi();
373373try {
374374 final response = api.enable2FA();
375375 print(response);
376- } catch on DioException (e) {
376+ } on DioException catch (e) {
377377 print('Exception when calling AuthenticationApi->enable2FA: $e\n');
378378}
379379```
@@ -423,7 +423,7 @@ final api = VrchatDartGenerated().getAuthenticationApi();
423423try {
424424 final response = api.getCurrentUser();
425425 print(response);
426- } catch on DioException (e) {
426+ } on DioException catch (e) {
427427 print('Exception when calling AuthenticationApi->getCurrentUser: $e\n');
428428}
429429```
@@ -466,7 +466,7 @@ final api = VrchatDartGenerated().getAuthenticationApi();
466466try {
467467 final response = api.getGlobalAvatarModerations();
468468 print(response);
469- } catch on DioException (e) {
469+ } on DioException catch (e) {
470470 print('Exception when calling AuthenticationApi->getGlobalAvatarModerations: $e\n');
471471}
472472```
@@ -509,7 +509,7 @@ final api = VrchatDartGenerated().getAuthenticationApi();
509509try {
510510 final response = api.getRecoveryCodes();
511511 print(response);
512- } catch on DioException (e) {
512+ } on DioException catch (e) {
513513 print('Exception when calling AuthenticationApi->getRecoveryCodes: $e\n');
514514}
515515```
@@ -552,7 +552,7 @@ final api = VrchatDartGenerated().getAuthenticationApi();
552552try {
553553 final response = api.logout();
554554 print(response);
555- } catch on DioException (e) {
555+ } on DioException catch (e) {
556556 print('Exception when calling AuthenticationApi->logout: $e\n');
557557}
558558```
@@ -592,7 +592,7 @@ final RegisterUserAccountRequest registerUserAccountRequest = ; // RegisterUserA
592592try {
593593 final response = api.registerUserAccount(registerUserAccountRequest);
594594 print(response);
595- } catch on DioException (e) {
595+ } on DioException catch (e) {
596596 print('Exception when calling AuthenticationApi->registerUserAccount: $e\n');
597597}
598598```
@@ -638,7 +638,7 @@ final api = VrchatDartGenerated().getAuthenticationApi();
638638try {
639639 final response = api.resendEmailConfirmation();
640640 print(response);
641- } catch on DioException (e) {
641+ } on DioException catch (e) {
642642 print('Exception when calling AuthenticationApi->resendEmailConfirmation: $e\n');
643643}
644644```
@@ -682,7 +682,7 @@ final TwoFactorAuthCode twoFactorAuthCode = ; // TwoFactorAuthCode |
682682try {
683683 final response = api.verify2FA(twoFactorAuthCode);
684684 print(response);
685- } catch on DioException (e) {
685+ } on DioException catch (e) {
686686 print('Exception when calling AuthenticationApi->verify2FA: $e\n');
687687}
688688```
@@ -729,7 +729,7 @@ final TwoFactorEmailCode twoFactorEmailCode = ; // TwoFactorEmailCode |
729729try {
730730 final response = api.verify2FAEmailCode(twoFactorEmailCode);
731731 print(response);
732- } catch on DioException (e) {
732+ } on DioException catch (e) {
733733 print('Exception when calling AuthenticationApi->verify2FAEmailCode: $e\n');
734734}
735735```
@@ -775,7 +775,7 @@ final api = VrchatDartGenerated().getAuthenticationApi();
775775try {
776776 final response = api.verifyAuthToken();
777777 print(response);
778- } catch on DioException (e) {
778+ } on DioException catch (e) {
779779 print('Exception when calling AuthenticationApi->verifyAuthToken: $e\n');
780780}
781781```
@@ -815,7 +815,7 @@ final String userId = userId_example; // String | Filter by UserID.
815815
816816try {
817817 api.verifyLoginPlace(token, userId);
818- } catch on DioException (e) {
818+ } on DioException catch (e) {
819819 print('Exception when calling AuthenticationApi->verifyLoginPlace: $e\n');
820820}
821821```
@@ -863,7 +863,7 @@ final TwoFactorAuthCode twoFactorAuthCode = ; // TwoFactorAuthCode |
863863try {
864864 final response = api.verifyPending2FA(twoFactorAuthCode);
865865 print(response);
866- } catch on DioException (e) {
866+ } on DioException catch (e) {
867867 print('Exception when calling AuthenticationApi->verifyPending2FA: $e\n');
868868}
869869```
@@ -910,7 +910,7 @@ final TwoFactorAuthCode twoFactorAuthCode = ; // TwoFactorAuthCode |
910910try {
911911 final response = api.verifyRecoveryCode(twoFactorAuthCode);
912912 print(response);
913- } catch on DioException (e) {
913+ } on DioException catch (e) {
914914 print('Exception when calling AuthenticationApi->verifyRecoveryCode: $e\n');
915915}
916916```
0 commit comments