@aws-sdk/client-xray 3.118.1 → 3.121.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +11 -0
- package/dist-cjs/protocols/Aws_restJson1.js +135 -109
- package/dist-es/protocols/Aws_restJson1.js +135 -109
- package/package.json +3 -3
|
@@ -691,8 +691,7 @@ const deserializeAws_restJson1BatchGetTracesCommandError = async (output, contex
|
|
|
691
691
|
body: await parseBody(output.body, context),
|
|
692
692
|
};
|
|
693
693
|
let response;
|
|
694
|
-
|
|
695
|
-
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
694
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
696
695
|
switch (errorCode) {
|
|
697
696
|
case "InvalidRequestException":
|
|
698
697
|
case "com.amazonaws.xray#InvalidRequestException":
|
|
@@ -702,10 +701,12 @@ const deserializeAws_restJson1BatchGetTracesCommandError = async (output, contex
|
|
|
702
701
|
throw await deserializeAws_restJson1ThrottledExceptionResponse(parsedOutput, context);
|
|
703
702
|
default:
|
|
704
703
|
const parsedBody = parsedOutput.body;
|
|
704
|
+
const $metadata = deserializeMetadata(output);
|
|
705
|
+
const statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
705
706
|
response = new XRayServiceException_1.XRayServiceException({
|
|
706
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
707
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
707
708
|
$fault: "client",
|
|
708
|
-
$metadata
|
|
709
|
+
$metadata,
|
|
709
710
|
});
|
|
710
711
|
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
711
712
|
}
|
|
@@ -731,8 +732,7 @@ const deserializeAws_restJson1CreateGroupCommandError = async (output, context)
|
|
|
731
732
|
body: await parseBody(output.body, context),
|
|
732
733
|
};
|
|
733
734
|
let response;
|
|
734
|
-
|
|
735
|
-
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
735
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
736
736
|
switch (errorCode) {
|
|
737
737
|
case "InvalidRequestException":
|
|
738
738
|
case "com.amazonaws.xray#InvalidRequestException":
|
|
@@ -742,10 +742,12 @@ const deserializeAws_restJson1CreateGroupCommandError = async (output, context)
|
|
|
742
742
|
throw await deserializeAws_restJson1ThrottledExceptionResponse(parsedOutput, context);
|
|
743
743
|
default:
|
|
744
744
|
const parsedBody = parsedOutput.body;
|
|
745
|
+
const $metadata = deserializeMetadata(output);
|
|
746
|
+
const statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
745
747
|
response = new XRayServiceException_1.XRayServiceException({
|
|
746
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
748
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
747
749
|
$fault: "client",
|
|
748
|
-
$metadata
|
|
750
|
+
$metadata,
|
|
749
751
|
});
|
|
750
752
|
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
751
753
|
}
|
|
@@ -771,8 +773,7 @@ const deserializeAws_restJson1CreateSamplingRuleCommandError = async (output, co
|
|
|
771
773
|
body: await parseBody(output.body, context),
|
|
772
774
|
};
|
|
773
775
|
let response;
|
|
774
|
-
|
|
775
|
-
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
776
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
776
777
|
switch (errorCode) {
|
|
777
778
|
case "InvalidRequestException":
|
|
778
779
|
case "com.amazonaws.xray#InvalidRequestException":
|
|
@@ -785,10 +786,12 @@ const deserializeAws_restJson1CreateSamplingRuleCommandError = async (output, co
|
|
|
785
786
|
throw await deserializeAws_restJson1ThrottledExceptionResponse(parsedOutput, context);
|
|
786
787
|
default:
|
|
787
788
|
const parsedBody = parsedOutput.body;
|
|
789
|
+
const $metadata = deserializeMetadata(output);
|
|
790
|
+
const statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
788
791
|
response = new XRayServiceException_1.XRayServiceException({
|
|
789
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
792
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
790
793
|
$fault: "client",
|
|
791
|
-
$metadata
|
|
794
|
+
$metadata,
|
|
792
795
|
});
|
|
793
796
|
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
794
797
|
}
|
|
@@ -810,8 +813,7 @@ const deserializeAws_restJson1DeleteGroupCommandError = async (output, context)
|
|
|
810
813
|
body: await parseBody(output.body, context),
|
|
811
814
|
};
|
|
812
815
|
let response;
|
|
813
|
-
|
|
814
|
-
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
816
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
815
817
|
switch (errorCode) {
|
|
816
818
|
case "InvalidRequestException":
|
|
817
819
|
case "com.amazonaws.xray#InvalidRequestException":
|
|
@@ -821,10 +823,12 @@ const deserializeAws_restJson1DeleteGroupCommandError = async (output, context)
|
|
|
821
823
|
throw await deserializeAws_restJson1ThrottledExceptionResponse(parsedOutput, context);
|
|
822
824
|
default:
|
|
823
825
|
const parsedBody = parsedOutput.body;
|
|
826
|
+
const $metadata = deserializeMetadata(output);
|
|
827
|
+
const statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
824
828
|
response = new XRayServiceException_1.XRayServiceException({
|
|
825
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
829
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
826
830
|
$fault: "client",
|
|
827
|
-
$metadata
|
|
831
|
+
$metadata,
|
|
828
832
|
});
|
|
829
833
|
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
830
834
|
}
|
|
@@ -850,8 +854,7 @@ const deserializeAws_restJson1DeleteSamplingRuleCommandError = async (output, co
|
|
|
850
854
|
body: await parseBody(output.body, context),
|
|
851
855
|
};
|
|
852
856
|
let response;
|
|
853
|
-
|
|
854
|
-
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
857
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
855
858
|
switch (errorCode) {
|
|
856
859
|
case "InvalidRequestException":
|
|
857
860
|
case "com.amazonaws.xray#InvalidRequestException":
|
|
@@ -861,10 +864,12 @@ const deserializeAws_restJson1DeleteSamplingRuleCommandError = async (output, co
|
|
|
861
864
|
throw await deserializeAws_restJson1ThrottledExceptionResponse(parsedOutput, context);
|
|
862
865
|
default:
|
|
863
866
|
const parsedBody = parsedOutput.body;
|
|
867
|
+
const $metadata = deserializeMetadata(output);
|
|
868
|
+
const statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
864
869
|
response = new XRayServiceException_1.XRayServiceException({
|
|
865
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
870
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
866
871
|
$fault: "client",
|
|
867
|
-
$metadata
|
|
872
|
+
$metadata,
|
|
868
873
|
});
|
|
869
874
|
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
870
875
|
}
|
|
@@ -890,8 +895,7 @@ const deserializeAws_restJson1GetEncryptionConfigCommandError = async (output, c
|
|
|
890
895
|
body: await parseBody(output.body, context),
|
|
891
896
|
};
|
|
892
897
|
let response;
|
|
893
|
-
|
|
894
|
-
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
898
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
895
899
|
switch (errorCode) {
|
|
896
900
|
case "InvalidRequestException":
|
|
897
901
|
case "com.amazonaws.xray#InvalidRequestException":
|
|
@@ -901,10 +905,12 @@ const deserializeAws_restJson1GetEncryptionConfigCommandError = async (output, c
|
|
|
901
905
|
throw await deserializeAws_restJson1ThrottledExceptionResponse(parsedOutput, context);
|
|
902
906
|
default:
|
|
903
907
|
const parsedBody = parsedOutput.body;
|
|
908
|
+
const $metadata = deserializeMetadata(output);
|
|
909
|
+
const statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
904
910
|
response = new XRayServiceException_1.XRayServiceException({
|
|
905
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
911
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
906
912
|
$fault: "client",
|
|
907
|
-
$metadata
|
|
913
|
+
$metadata,
|
|
908
914
|
});
|
|
909
915
|
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
910
916
|
}
|
|
@@ -930,8 +936,7 @@ const deserializeAws_restJson1GetGroupCommandError = async (output, context) =>
|
|
|
930
936
|
body: await parseBody(output.body, context),
|
|
931
937
|
};
|
|
932
938
|
let response;
|
|
933
|
-
|
|
934
|
-
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
939
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
935
940
|
switch (errorCode) {
|
|
936
941
|
case "InvalidRequestException":
|
|
937
942
|
case "com.amazonaws.xray#InvalidRequestException":
|
|
@@ -941,10 +946,12 @@ const deserializeAws_restJson1GetGroupCommandError = async (output, context) =>
|
|
|
941
946
|
throw await deserializeAws_restJson1ThrottledExceptionResponse(parsedOutput, context);
|
|
942
947
|
default:
|
|
943
948
|
const parsedBody = parsedOutput.body;
|
|
949
|
+
const $metadata = deserializeMetadata(output);
|
|
950
|
+
const statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
944
951
|
response = new XRayServiceException_1.XRayServiceException({
|
|
945
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
952
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
946
953
|
$fault: "client",
|
|
947
|
-
$metadata
|
|
954
|
+
$metadata,
|
|
948
955
|
});
|
|
949
956
|
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
950
957
|
}
|
|
@@ -974,8 +981,7 @@ const deserializeAws_restJson1GetGroupsCommandError = async (output, context) =>
|
|
|
974
981
|
body: await parseBody(output.body, context),
|
|
975
982
|
};
|
|
976
983
|
let response;
|
|
977
|
-
|
|
978
|
-
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
984
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
979
985
|
switch (errorCode) {
|
|
980
986
|
case "InvalidRequestException":
|
|
981
987
|
case "com.amazonaws.xray#InvalidRequestException":
|
|
@@ -985,10 +991,12 @@ const deserializeAws_restJson1GetGroupsCommandError = async (output, context) =>
|
|
|
985
991
|
throw await deserializeAws_restJson1ThrottledExceptionResponse(parsedOutput, context);
|
|
986
992
|
default:
|
|
987
993
|
const parsedBody = parsedOutput.body;
|
|
994
|
+
const $metadata = deserializeMetadata(output);
|
|
995
|
+
const statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
988
996
|
response = new XRayServiceException_1.XRayServiceException({
|
|
989
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
997
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
990
998
|
$fault: "client",
|
|
991
|
-
$metadata
|
|
999
|
+
$metadata,
|
|
992
1000
|
});
|
|
993
1001
|
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
994
1002
|
}
|
|
@@ -1014,8 +1022,7 @@ const deserializeAws_restJson1GetInsightCommandError = async (output, context) =
|
|
|
1014
1022
|
body: await parseBody(output.body, context),
|
|
1015
1023
|
};
|
|
1016
1024
|
let response;
|
|
1017
|
-
|
|
1018
|
-
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1025
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1019
1026
|
switch (errorCode) {
|
|
1020
1027
|
case "InvalidRequestException":
|
|
1021
1028
|
case "com.amazonaws.xray#InvalidRequestException":
|
|
@@ -1025,10 +1032,12 @@ const deserializeAws_restJson1GetInsightCommandError = async (output, context) =
|
|
|
1025
1032
|
throw await deserializeAws_restJson1ThrottledExceptionResponse(parsedOutput, context);
|
|
1026
1033
|
default:
|
|
1027
1034
|
const parsedBody = parsedOutput.body;
|
|
1035
|
+
const $metadata = deserializeMetadata(output);
|
|
1036
|
+
const statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
1028
1037
|
response = new XRayServiceException_1.XRayServiceException({
|
|
1029
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
1038
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
1030
1039
|
$fault: "client",
|
|
1031
|
-
$metadata
|
|
1040
|
+
$metadata,
|
|
1032
1041
|
});
|
|
1033
1042
|
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1034
1043
|
}
|
|
@@ -1058,8 +1067,7 @@ const deserializeAws_restJson1GetInsightEventsCommandError = async (output, cont
|
|
|
1058
1067
|
body: await parseBody(output.body, context),
|
|
1059
1068
|
};
|
|
1060
1069
|
let response;
|
|
1061
|
-
|
|
1062
|
-
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1070
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1063
1071
|
switch (errorCode) {
|
|
1064
1072
|
case "InvalidRequestException":
|
|
1065
1073
|
case "com.amazonaws.xray#InvalidRequestException":
|
|
@@ -1069,10 +1077,12 @@ const deserializeAws_restJson1GetInsightEventsCommandError = async (output, cont
|
|
|
1069
1077
|
throw await deserializeAws_restJson1ThrottledExceptionResponse(parsedOutput, context);
|
|
1070
1078
|
default:
|
|
1071
1079
|
const parsedBody = parsedOutput.body;
|
|
1080
|
+
const $metadata = deserializeMetadata(output);
|
|
1081
|
+
const statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
1072
1082
|
response = new XRayServiceException_1.XRayServiceException({
|
|
1073
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
1083
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
1074
1084
|
$fault: "client",
|
|
1075
|
-
$metadata
|
|
1085
|
+
$metadata,
|
|
1076
1086
|
});
|
|
1077
1087
|
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1078
1088
|
}
|
|
@@ -1122,8 +1132,7 @@ const deserializeAws_restJson1GetInsightImpactGraphCommandError = async (output,
|
|
|
1122
1132
|
body: await parseBody(output.body, context),
|
|
1123
1133
|
};
|
|
1124
1134
|
let response;
|
|
1125
|
-
|
|
1126
|
-
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1135
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1127
1136
|
switch (errorCode) {
|
|
1128
1137
|
case "InvalidRequestException":
|
|
1129
1138
|
case "com.amazonaws.xray#InvalidRequestException":
|
|
@@ -1133,10 +1142,12 @@ const deserializeAws_restJson1GetInsightImpactGraphCommandError = async (output,
|
|
|
1133
1142
|
throw await deserializeAws_restJson1ThrottledExceptionResponse(parsedOutput, context);
|
|
1134
1143
|
default:
|
|
1135
1144
|
const parsedBody = parsedOutput.body;
|
|
1145
|
+
const $metadata = deserializeMetadata(output);
|
|
1146
|
+
const statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
1136
1147
|
response = new XRayServiceException_1.XRayServiceException({
|
|
1137
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
1148
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
1138
1149
|
$fault: "client",
|
|
1139
|
-
$metadata
|
|
1150
|
+
$metadata,
|
|
1140
1151
|
});
|
|
1141
1152
|
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1142
1153
|
}
|
|
@@ -1166,8 +1177,7 @@ const deserializeAws_restJson1GetInsightSummariesCommandError = async (output, c
|
|
|
1166
1177
|
body: await parseBody(output.body, context),
|
|
1167
1178
|
};
|
|
1168
1179
|
let response;
|
|
1169
|
-
|
|
1170
|
-
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1180
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1171
1181
|
switch (errorCode) {
|
|
1172
1182
|
case "InvalidRequestException":
|
|
1173
1183
|
case "com.amazonaws.xray#InvalidRequestException":
|
|
@@ -1177,10 +1187,12 @@ const deserializeAws_restJson1GetInsightSummariesCommandError = async (output, c
|
|
|
1177
1187
|
throw await deserializeAws_restJson1ThrottledExceptionResponse(parsedOutput, context);
|
|
1178
1188
|
default:
|
|
1179
1189
|
const parsedBody = parsedOutput.body;
|
|
1190
|
+
const $metadata = deserializeMetadata(output);
|
|
1191
|
+
const statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
1180
1192
|
response = new XRayServiceException_1.XRayServiceException({
|
|
1181
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
1193
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
1182
1194
|
$fault: "client",
|
|
1183
|
-
$metadata
|
|
1195
|
+
$metadata,
|
|
1184
1196
|
});
|
|
1185
1197
|
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1186
1198
|
}
|
|
@@ -1210,8 +1222,7 @@ const deserializeAws_restJson1GetSamplingRulesCommandError = async (output, cont
|
|
|
1210
1222
|
body: await parseBody(output.body, context),
|
|
1211
1223
|
};
|
|
1212
1224
|
let response;
|
|
1213
|
-
|
|
1214
|
-
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1225
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1215
1226
|
switch (errorCode) {
|
|
1216
1227
|
case "InvalidRequestException":
|
|
1217
1228
|
case "com.amazonaws.xray#InvalidRequestException":
|
|
@@ -1221,10 +1232,12 @@ const deserializeAws_restJson1GetSamplingRulesCommandError = async (output, cont
|
|
|
1221
1232
|
throw await deserializeAws_restJson1ThrottledExceptionResponse(parsedOutput, context);
|
|
1222
1233
|
default:
|
|
1223
1234
|
const parsedBody = parsedOutput.body;
|
|
1235
|
+
const $metadata = deserializeMetadata(output);
|
|
1236
|
+
const statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
1224
1237
|
response = new XRayServiceException_1.XRayServiceException({
|
|
1225
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
1238
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
1226
1239
|
$fault: "client",
|
|
1227
|
-
$metadata
|
|
1240
|
+
$metadata,
|
|
1228
1241
|
});
|
|
1229
1242
|
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1230
1243
|
}
|
|
@@ -1254,8 +1267,7 @@ const deserializeAws_restJson1GetSamplingStatisticSummariesCommandError = async
|
|
|
1254
1267
|
body: await parseBody(output.body, context),
|
|
1255
1268
|
};
|
|
1256
1269
|
let response;
|
|
1257
|
-
|
|
1258
|
-
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1270
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1259
1271
|
switch (errorCode) {
|
|
1260
1272
|
case "InvalidRequestException":
|
|
1261
1273
|
case "com.amazonaws.xray#InvalidRequestException":
|
|
@@ -1265,10 +1277,12 @@ const deserializeAws_restJson1GetSamplingStatisticSummariesCommandError = async
|
|
|
1265
1277
|
throw await deserializeAws_restJson1ThrottledExceptionResponse(parsedOutput, context);
|
|
1266
1278
|
default:
|
|
1267
1279
|
const parsedBody = parsedOutput.body;
|
|
1280
|
+
const $metadata = deserializeMetadata(output);
|
|
1281
|
+
const statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
1268
1282
|
response = new XRayServiceException_1.XRayServiceException({
|
|
1269
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
1283
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
1270
1284
|
$fault: "client",
|
|
1271
|
-
$metadata
|
|
1285
|
+
$metadata,
|
|
1272
1286
|
});
|
|
1273
1287
|
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1274
1288
|
}
|
|
@@ -1302,8 +1316,7 @@ const deserializeAws_restJson1GetSamplingTargetsCommandError = async (output, co
|
|
|
1302
1316
|
body: await parseBody(output.body, context),
|
|
1303
1317
|
};
|
|
1304
1318
|
let response;
|
|
1305
|
-
|
|
1306
|
-
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1319
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1307
1320
|
switch (errorCode) {
|
|
1308
1321
|
case "InvalidRequestException":
|
|
1309
1322
|
case "com.amazonaws.xray#InvalidRequestException":
|
|
@@ -1313,10 +1326,12 @@ const deserializeAws_restJson1GetSamplingTargetsCommandError = async (output, co
|
|
|
1313
1326
|
throw await deserializeAws_restJson1ThrottledExceptionResponse(parsedOutput, context);
|
|
1314
1327
|
default:
|
|
1315
1328
|
const parsedBody = parsedOutput.body;
|
|
1329
|
+
const $metadata = deserializeMetadata(output);
|
|
1330
|
+
const statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
1316
1331
|
response = new XRayServiceException_1.XRayServiceException({
|
|
1317
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
1332
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
1318
1333
|
$fault: "client",
|
|
1319
|
-
$metadata
|
|
1334
|
+
$metadata,
|
|
1320
1335
|
});
|
|
1321
1336
|
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1322
1337
|
}
|
|
@@ -1358,8 +1373,7 @@ const deserializeAws_restJson1GetServiceGraphCommandError = async (output, conte
|
|
|
1358
1373
|
body: await parseBody(output.body, context),
|
|
1359
1374
|
};
|
|
1360
1375
|
let response;
|
|
1361
|
-
|
|
1362
|
-
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1376
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1363
1377
|
switch (errorCode) {
|
|
1364
1378
|
case "InvalidRequestException":
|
|
1365
1379
|
case "com.amazonaws.xray#InvalidRequestException":
|
|
@@ -1369,10 +1383,12 @@ const deserializeAws_restJson1GetServiceGraphCommandError = async (output, conte
|
|
|
1369
1383
|
throw await deserializeAws_restJson1ThrottledExceptionResponse(parsedOutput, context);
|
|
1370
1384
|
default:
|
|
1371
1385
|
const parsedBody = parsedOutput.body;
|
|
1386
|
+
const $metadata = deserializeMetadata(output);
|
|
1387
|
+
const statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
1372
1388
|
response = new XRayServiceException_1.XRayServiceException({
|
|
1373
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
1389
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
1374
1390
|
$fault: "client",
|
|
1375
|
-
$metadata
|
|
1391
|
+
$metadata,
|
|
1376
1392
|
});
|
|
1377
1393
|
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1378
1394
|
}
|
|
@@ -1406,8 +1422,7 @@ const deserializeAws_restJson1GetTimeSeriesServiceStatisticsCommandError = async
|
|
|
1406
1422
|
body: await parseBody(output.body, context),
|
|
1407
1423
|
};
|
|
1408
1424
|
let response;
|
|
1409
|
-
|
|
1410
|
-
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1425
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1411
1426
|
switch (errorCode) {
|
|
1412
1427
|
case "InvalidRequestException":
|
|
1413
1428
|
case "com.amazonaws.xray#InvalidRequestException":
|
|
@@ -1417,10 +1432,12 @@ const deserializeAws_restJson1GetTimeSeriesServiceStatisticsCommandError = async
|
|
|
1417
1432
|
throw await deserializeAws_restJson1ThrottledExceptionResponse(parsedOutput, context);
|
|
1418
1433
|
default:
|
|
1419
1434
|
const parsedBody = parsedOutput.body;
|
|
1435
|
+
const $metadata = deserializeMetadata(output);
|
|
1436
|
+
const statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
1420
1437
|
response = new XRayServiceException_1.XRayServiceException({
|
|
1421
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
1438
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
1422
1439
|
$fault: "client",
|
|
1423
|
-
$metadata
|
|
1440
|
+
$metadata,
|
|
1424
1441
|
});
|
|
1425
1442
|
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1426
1443
|
}
|
|
@@ -1450,8 +1467,7 @@ const deserializeAws_restJson1GetTraceGraphCommandError = async (output, context
|
|
|
1450
1467
|
body: await parseBody(output.body, context),
|
|
1451
1468
|
};
|
|
1452
1469
|
let response;
|
|
1453
|
-
|
|
1454
|
-
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1470
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1455
1471
|
switch (errorCode) {
|
|
1456
1472
|
case "InvalidRequestException":
|
|
1457
1473
|
case "com.amazonaws.xray#InvalidRequestException":
|
|
@@ -1461,10 +1477,12 @@ const deserializeAws_restJson1GetTraceGraphCommandError = async (output, context
|
|
|
1461
1477
|
throw await deserializeAws_restJson1ThrottledExceptionResponse(parsedOutput, context);
|
|
1462
1478
|
default:
|
|
1463
1479
|
const parsedBody = parsedOutput.body;
|
|
1480
|
+
const $metadata = deserializeMetadata(output);
|
|
1481
|
+
const statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
1464
1482
|
response = new XRayServiceException_1.XRayServiceException({
|
|
1465
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
1483
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
1466
1484
|
$fault: "client",
|
|
1467
|
-
$metadata
|
|
1485
|
+
$metadata,
|
|
1468
1486
|
});
|
|
1469
1487
|
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1470
1488
|
}
|
|
@@ -1502,8 +1520,7 @@ const deserializeAws_restJson1GetTraceSummariesCommandError = async (output, con
|
|
|
1502
1520
|
body: await parseBody(output.body, context),
|
|
1503
1521
|
};
|
|
1504
1522
|
let response;
|
|
1505
|
-
|
|
1506
|
-
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1523
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1507
1524
|
switch (errorCode) {
|
|
1508
1525
|
case "InvalidRequestException":
|
|
1509
1526
|
case "com.amazonaws.xray#InvalidRequestException":
|
|
@@ -1513,10 +1530,12 @@ const deserializeAws_restJson1GetTraceSummariesCommandError = async (output, con
|
|
|
1513
1530
|
throw await deserializeAws_restJson1ThrottledExceptionResponse(parsedOutput, context);
|
|
1514
1531
|
default:
|
|
1515
1532
|
const parsedBody = parsedOutput.body;
|
|
1533
|
+
const $metadata = deserializeMetadata(output);
|
|
1534
|
+
const statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
1516
1535
|
response = new XRayServiceException_1.XRayServiceException({
|
|
1517
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
1536
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
1518
1537
|
$fault: "client",
|
|
1519
|
-
$metadata
|
|
1538
|
+
$metadata,
|
|
1520
1539
|
});
|
|
1521
1540
|
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1522
1541
|
}
|
|
@@ -1546,8 +1565,7 @@ const deserializeAws_restJson1ListTagsForResourceCommandError = async (output, c
|
|
|
1546
1565
|
body: await parseBody(output.body, context),
|
|
1547
1566
|
};
|
|
1548
1567
|
let response;
|
|
1549
|
-
|
|
1550
|
-
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1568
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1551
1569
|
switch (errorCode) {
|
|
1552
1570
|
case "InvalidRequestException":
|
|
1553
1571
|
case "com.amazonaws.xray#InvalidRequestException":
|
|
@@ -1560,10 +1578,12 @@ const deserializeAws_restJson1ListTagsForResourceCommandError = async (output, c
|
|
|
1560
1578
|
throw await deserializeAws_restJson1ThrottledExceptionResponse(parsedOutput, context);
|
|
1561
1579
|
default:
|
|
1562
1580
|
const parsedBody = parsedOutput.body;
|
|
1581
|
+
const $metadata = deserializeMetadata(output);
|
|
1582
|
+
const statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
1563
1583
|
response = new XRayServiceException_1.XRayServiceException({
|
|
1564
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
1584
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
1565
1585
|
$fault: "client",
|
|
1566
|
-
$metadata
|
|
1586
|
+
$metadata,
|
|
1567
1587
|
});
|
|
1568
1588
|
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1569
1589
|
}
|
|
@@ -1589,8 +1609,7 @@ const deserializeAws_restJson1PutEncryptionConfigCommandError = async (output, c
|
|
|
1589
1609
|
body: await parseBody(output.body, context),
|
|
1590
1610
|
};
|
|
1591
1611
|
let response;
|
|
1592
|
-
|
|
1593
|
-
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1612
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1594
1613
|
switch (errorCode) {
|
|
1595
1614
|
case "InvalidRequestException":
|
|
1596
1615
|
case "com.amazonaws.xray#InvalidRequestException":
|
|
@@ -1600,10 +1619,12 @@ const deserializeAws_restJson1PutEncryptionConfigCommandError = async (output, c
|
|
|
1600
1619
|
throw await deserializeAws_restJson1ThrottledExceptionResponse(parsedOutput, context);
|
|
1601
1620
|
default:
|
|
1602
1621
|
const parsedBody = parsedOutput.body;
|
|
1622
|
+
const $metadata = deserializeMetadata(output);
|
|
1623
|
+
const statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
1603
1624
|
response = new XRayServiceException_1.XRayServiceException({
|
|
1604
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
1625
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
1605
1626
|
$fault: "client",
|
|
1606
|
-
$metadata
|
|
1627
|
+
$metadata,
|
|
1607
1628
|
});
|
|
1608
1629
|
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1609
1630
|
}
|
|
@@ -1625,8 +1646,7 @@ const deserializeAws_restJson1PutTelemetryRecordsCommandError = async (output, c
|
|
|
1625
1646
|
body: await parseBody(output.body, context),
|
|
1626
1647
|
};
|
|
1627
1648
|
let response;
|
|
1628
|
-
|
|
1629
|
-
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1649
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1630
1650
|
switch (errorCode) {
|
|
1631
1651
|
case "InvalidRequestException":
|
|
1632
1652
|
case "com.amazonaws.xray#InvalidRequestException":
|
|
@@ -1636,10 +1656,12 @@ const deserializeAws_restJson1PutTelemetryRecordsCommandError = async (output, c
|
|
|
1636
1656
|
throw await deserializeAws_restJson1ThrottledExceptionResponse(parsedOutput, context);
|
|
1637
1657
|
default:
|
|
1638
1658
|
const parsedBody = parsedOutput.body;
|
|
1659
|
+
const $metadata = deserializeMetadata(output);
|
|
1660
|
+
const statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
1639
1661
|
response = new XRayServiceException_1.XRayServiceException({
|
|
1640
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
1662
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
1641
1663
|
$fault: "client",
|
|
1642
|
-
$metadata
|
|
1664
|
+
$metadata,
|
|
1643
1665
|
});
|
|
1644
1666
|
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1645
1667
|
}
|
|
@@ -1665,8 +1687,7 @@ const deserializeAws_restJson1PutTraceSegmentsCommandError = async (output, cont
|
|
|
1665
1687
|
body: await parseBody(output.body, context),
|
|
1666
1688
|
};
|
|
1667
1689
|
let response;
|
|
1668
|
-
|
|
1669
|
-
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1690
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1670
1691
|
switch (errorCode) {
|
|
1671
1692
|
case "InvalidRequestException":
|
|
1672
1693
|
case "com.amazonaws.xray#InvalidRequestException":
|
|
@@ -1676,10 +1697,12 @@ const deserializeAws_restJson1PutTraceSegmentsCommandError = async (output, cont
|
|
|
1676
1697
|
throw await deserializeAws_restJson1ThrottledExceptionResponse(parsedOutput, context);
|
|
1677
1698
|
default:
|
|
1678
1699
|
const parsedBody = parsedOutput.body;
|
|
1700
|
+
const $metadata = deserializeMetadata(output);
|
|
1701
|
+
const statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
1679
1702
|
response = new XRayServiceException_1.XRayServiceException({
|
|
1680
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
1703
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
1681
1704
|
$fault: "client",
|
|
1682
|
-
$metadata
|
|
1705
|
+
$metadata,
|
|
1683
1706
|
});
|
|
1684
1707
|
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1685
1708
|
}
|
|
@@ -1701,8 +1724,7 @@ const deserializeAws_restJson1TagResourceCommandError = async (output, context)
|
|
|
1701
1724
|
body: await parseBody(output.body, context),
|
|
1702
1725
|
};
|
|
1703
1726
|
let response;
|
|
1704
|
-
|
|
1705
|
-
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1727
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1706
1728
|
switch (errorCode) {
|
|
1707
1729
|
case "InvalidRequestException":
|
|
1708
1730
|
case "com.amazonaws.xray#InvalidRequestException":
|
|
@@ -1718,10 +1740,12 @@ const deserializeAws_restJson1TagResourceCommandError = async (output, context)
|
|
|
1718
1740
|
throw await deserializeAws_restJson1TooManyTagsExceptionResponse(parsedOutput, context);
|
|
1719
1741
|
default:
|
|
1720
1742
|
const parsedBody = parsedOutput.body;
|
|
1743
|
+
const $metadata = deserializeMetadata(output);
|
|
1744
|
+
const statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
1721
1745
|
response = new XRayServiceException_1.XRayServiceException({
|
|
1722
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
1746
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
1723
1747
|
$fault: "client",
|
|
1724
|
-
$metadata
|
|
1748
|
+
$metadata,
|
|
1725
1749
|
});
|
|
1726
1750
|
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1727
1751
|
}
|
|
@@ -1743,8 +1767,7 @@ const deserializeAws_restJson1UntagResourceCommandError = async (output, context
|
|
|
1743
1767
|
body: await parseBody(output.body, context),
|
|
1744
1768
|
};
|
|
1745
1769
|
let response;
|
|
1746
|
-
|
|
1747
|
-
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1770
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1748
1771
|
switch (errorCode) {
|
|
1749
1772
|
case "InvalidRequestException":
|
|
1750
1773
|
case "com.amazonaws.xray#InvalidRequestException":
|
|
@@ -1757,10 +1780,12 @@ const deserializeAws_restJson1UntagResourceCommandError = async (output, context
|
|
|
1757
1780
|
throw await deserializeAws_restJson1ThrottledExceptionResponse(parsedOutput, context);
|
|
1758
1781
|
default:
|
|
1759
1782
|
const parsedBody = parsedOutput.body;
|
|
1783
|
+
const $metadata = deserializeMetadata(output);
|
|
1784
|
+
const statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
1760
1785
|
response = new XRayServiceException_1.XRayServiceException({
|
|
1761
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
1786
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
1762
1787
|
$fault: "client",
|
|
1763
|
-
$metadata
|
|
1788
|
+
$metadata,
|
|
1764
1789
|
});
|
|
1765
1790
|
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1766
1791
|
}
|
|
@@ -1786,8 +1811,7 @@ const deserializeAws_restJson1UpdateGroupCommandError = async (output, context)
|
|
|
1786
1811
|
body: await parseBody(output.body, context),
|
|
1787
1812
|
};
|
|
1788
1813
|
let response;
|
|
1789
|
-
|
|
1790
|
-
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1814
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1791
1815
|
switch (errorCode) {
|
|
1792
1816
|
case "InvalidRequestException":
|
|
1793
1817
|
case "com.amazonaws.xray#InvalidRequestException":
|
|
@@ -1797,10 +1821,12 @@ const deserializeAws_restJson1UpdateGroupCommandError = async (output, context)
|
|
|
1797
1821
|
throw await deserializeAws_restJson1ThrottledExceptionResponse(parsedOutput, context);
|
|
1798
1822
|
default:
|
|
1799
1823
|
const parsedBody = parsedOutput.body;
|
|
1824
|
+
const $metadata = deserializeMetadata(output);
|
|
1825
|
+
const statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
1800
1826
|
response = new XRayServiceException_1.XRayServiceException({
|
|
1801
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
1827
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
1802
1828
|
$fault: "client",
|
|
1803
|
-
$metadata
|
|
1829
|
+
$metadata,
|
|
1804
1830
|
});
|
|
1805
1831
|
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1806
1832
|
}
|
|
@@ -1826,8 +1852,7 @@ const deserializeAws_restJson1UpdateSamplingRuleCommandError = async (output, co
|
|
|
1826
1852
|
body: await parseBody(output.body, context),
|
|
1827
1853
|
};
|
|
1828
1854
|
let response;
|
|
1829
|
-
|
|
1830
|
-
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1855
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1831
1856
|
switch (errorCode) {
|
|
1832
1857
|
case "InvalidRequestException":
|
|
1833
1858
|
case "com.amazonaws.xray#InvalidRequestException":
|
|
@@ -1837,10 +1862,12 @@ const deserializeAws_restJson1UpdateSamplingRuleCommandError = async (output, co
|
|
|
1837
1862
|
throw await deserializeAws_restJson1ThrottledExceptionResponse(parsedOutput, context);
|
|
1838
1863
|
default:
|
|
1839
1864
|
const parsedBody = parsedOutput.body;
|
|
1865
|
+
const $metadata = deserializeMetadata(output);
|
|
1866
|
+
const statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
1840
1867
|
response = new XRayServiceException_1.XRayServiceException({
|
|
1841
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
1868
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
1842
1869
|
$fault: "client",
|
|
1843
|
-
$metadata
|
|
1870
|
+
$metadata,
|
|
1844
1871
|
});
|
|
1845
1872
|
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1846
1873
|
}
|
|
@@ -3179,5 +3206,4 @@ const loadRestJsonErrorCode = (output, data) => {
|
|
|
3179
3206
|
if (data["__type"] !== undefined) {
|
|
3180
3207
|
return sanitizeErrorCode(data["__type"]);
|
|
3181
3208
|
}
|
|
3182
|
-
return "";
|
|
3183
3209
|
};
|