Skip to content

Commit 23ad92b

Browse files
authored
Merge pull request #232 from couchbase/valtolrg
RequestTooBigException should be ValueToLargeException
2 parents aca8ece + 72ccb05 commit 23ad92b

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

modules/howtos/pages/error-handling.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ try
9999
{
100100
await collection.InsertAsync("my-key", myReallyLargeObject);
101101
}
102-
catch (RequestTooBigException)
102+
catch (ValueTooLargeException)
103103
{
104104
// document body is too large
105105
}

0 commit comments

Comments
 (0)