You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// but AWS SDK wraps it into its own type for which customers should be unwrapping.
865
866
// In test vectors, we still have to change the error from AWS SDK to dafny so it turns out to be OpaqueWithText.
866
867
expect resultForInsertStatement.error.OpaqueWithText?, "Error should have been of type OpaqueWithText";
868
+
var hasDynamoDbEncryptionTransformsExceptionForInsertStatement? := String.HasSubString(resultForInsertStatement.error.objMessage, "DynamoDbEncryptionTransformsException");
// but AWS SDK wraps it into its own type for which customers should be unwrapping.
883
886
// In test vectors, we still have to change the error from AWS SDK to dafny so it turns out to be OpaqueWithText.
884
887
expect resultForSelectStatement.error.OpaqueWithText?, "Error should have been of type OpaqueWithText";
888
+
var hasDynamoDbEncryptionTransformsExceptionForSelectStatement? := String.HasSubString(resultForSelectStatement.error.objMessage, "DynamoDbEncryptionTransformsException");
// but AWS SDK wraps it into its own type for which customers should be unwrapping.
914
919
// In test vectors, we still have to change the error from AWS SDK to dafny so it turns out to be OpaqueWithText.
915
920
expect resultForWriteTransaction.error.OpaqueWithText?, "Error should have been of type OpaqueWithText";
921
+
var hasDynamoDbEncryptionTransformsExceptionForWriteTransaction? := String.HasSubString(resultForWriteTransaction.error.objMessage, "DynamoDbEncryptionTransformsException");
// but AWS SDK wraps it into its own type for which customers should be unwrapping.
922
929
// In test vectors, we still have to change the error from AWS SDK to dafny so it turns out to be OpaqueWithText.
923
930
expect resultForReadTransaction.error.OpaqueWithText?, "Error should have been of type OpaqueWithText";
931
+
var hasDynamoDbEncryptionTransformsExceptionForReadTransaction? := String.HasSubString(resultForReadTransaction.error.objMessage, "DynamoDbEncryptionTransformsException");
// but AWS SDK wraps it into its own type for which customers should be unwrapping.
960
969
// In test vectors, we still have to change the error from AWS SDK to dafny so it turns out to be OpaqueWithText.
961
970
expect resultForBatchInsert.error.OpaqueWithText?, "Error should have been of type OpaqueWithText";
971
+
var hasDynamoDbEncryptionTransformsExceptionForBatchInsert? := String.HasSubString(resultForBatchInsert.error.objMessage, "DynamoDbEncryptionTransformsException");
// but AWS SDK wraps it into its own type for which customers should be unwrapping.
973
984
// In test vectors, we still have to change the error from AWS SDK to dafny so it turns out to be OpaqueWithText.
974
985
expect resultForBatchSelect.error.OpaqueWithText?, "Error should have been of type OpaqueWithText";
986
+
var hasDynamoDbEncryptionTransformsExceptionForBatchSelect? := String.HasSubString(resultForBatchSelect.error.objMessage, "DynamoDbEncryptionTransformsException");
// but AWS SDK wraps it into its own type for which customers should be unwrapping.
986
999
// In test vectors, we still have to change the error from AWS SDK to dafny so it turns out to be OpaqueWithText.
987
1000
expect resultForMixedBatch.error.OpaqueWithText?, "Error should have been of type OpaqueWithText";
1001
+
var hasDynamoDbEncryptionTransformsExceptionForMixedBatch? := String.HasSubString(resultForMixedBatch.error.objMessage, "DynamoDbEncryptionTransformsException");
0 commit comments