File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Microsoft.Azure.Cosmos/src/FeedRange Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -60,13 +60,13 @@ public static TryCatch<VersionedAndRidCheckedCompositeToken> MonadicCreateFromCo
60
60
if ( ! cosmosObject . TryGetValue ( PropertyNames . Continuation , out CosmosElement continuationValue ) )
61
61
{
62
62
return TryCatch < VersionedAndRidCheckedCompositeToken > . FromException (
63
- new FormatException ( $ "expected number { nameof ( PropertyNames . Continuation ) } property for { nameof ( VersionedAndRidCheckedCompositeToken ) } : { cosmosElement } .") ) ;
63
+ new FormatException ( $ "expected object { nameof ( PropertyNames . Continuation ) } property for { nameof ( VersionedAndRidCheckedCompositeToken ) } : { cosmosElement } .") ) ;
64
64
}
65
65
66
66
if ( ! cosmosObject . TryGetValue ( PropertyNames . Rid , out CosmosString ridValue ) )
67
67
{
68
68
return TryCatch < VersionedAndRidCheckedCompositeToken > . FromException (
69
- new FormatException ( $ "expected number { nameof ( PropertyNames . Version ) } property for { nameof ( VersionedAndRidCheckedCompositeToken ) } : { cosmosElement } .") ) ;
69
+ new FormatException ( $ "expected string { nameof ( PropertyNames . Rid ) } property for { nameof ( VersionedAndRidCheckedCompositeToken ) } : { cosmosElement } .") ) ;
70
70
}
71
71
72
72
VersionedAndRidCheckedCompositeToken token = new VersionedAndRidCheckedCompositeToken (
You can’t perform that action at this time.
0 commit comments