Skip to content

Commit 074a673

Browse files
committed
Small cleanup
1 parent 7904d9f commit 074a673

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

docs/getting-started/README.md

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -73,9 +73,11 @@ in favour of giving you the error as a property.
7373

7474
| Property | Behavior |
7575
| ------------- |-------------|
76-
| FailOnDeserialization | Changes the default behavior when failed deserialization results in a successful response with an empty `Data` property of the response. Setting this property to `true` will tell RestSharp to consider failed deserialization as an error and set the `ResponseStatus` to `Error` accordingly. |
77-
| ThrowOnDeserialization | Changes the default behavior when failed deserialization results in empty `Data` property of the response. Setting this property to `true` will tell RestSharp to throw when deserialization fails. |
78-
| ThrowOnAnyError | Setting this property to `true` changes the default behavior and forces RestSharp to throw if any errors occurs when making a request or during deserialization. |
76+
| `FailOnDeserialization` | Changes the default behavior when failed deserialization results in a successful response with an empty `Data` property of the response. Setting this property to `true` will tell RestSharp to consider failed deserialization as an error and set the `ResponseStatus` to `Error` accordingly. |
77+
| `ThrowOnDeserialization` | Changes the default behavior when failed deserialization results in empty `Data` property of the response. Setting this property to `true` will tell RestSharp to throw when deserialization fails. |
78+
| `ThrowOnAnyError` | Setting this property to `true` changes the default behavior and forces RestSharp to throw if any errors occurs when making a request or during deserialization. |
79+
80+
Those properties are available for the `IRestClient` instance and will be used for all request made with that instance.
7981

8082
There are also slight differences on how different overloads handle exceptions.
8183

0 commit comments

Comments
 (0)