Skip to content

Commit d9b0b79

Browse files
docs: add source file links to readme (#499)
1 parent f35959f commit d9b0b79

1 file changed

Lines changed: 6 additions & 6 deletions

File tree

README.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -160,7 +160,7 @@ The asynchronous client supports the same options as the synchronous one, except
160160

161161
The SDK throws custom unchecked exception types:
162162

163-
- `LithicServiceException`: Base class for HTTP errors. See this table for which exception subclass is thrown for each HTTP status code:
163+
- [`LithicServiceException`](lithic-java-core/src/main/kotlin/com/lithic/api/errors/LithicServiceException.kt): Base class for HTTP errors. See this table for which exception subclass is thrown for each HTTP status code:
164164

165165
| Status | Exception |
166166
| ------ | ------------------------------- |
@@ -173,11 +173,11 @@ The SDK throws custom unchecked exception types:
173173
| 5xx | `InternalServerException` |
174174
| others | `UnexpectedStatusCodeException` |
175175

176-
- `LithicIoException`: I/O networking errors.
176+
- [`LithicIoException`](lithic-java-core/src/main/kotlin/com/lithic/api/errors/LithicIoException.kt): I/O networking errors.
177177

178-
- `LithicInvalidDataException`: Failure to interpret successfully parsed data. For example, when accessing a property that's supposed to be required, but the API unexpectedly omitted it from the response.
178+
- [`LithicInvalidDataException`](lithic-java-core/src/main/kotlin/com/lithic/api/errors/LithicInvalidDataException.kt): Failure to interpret successfully parsed data. For example, when accessing a property that's supposed to be required, but the API unexpectedly omitted it from the response.
179179

180-
- `LithicException`: Base class for all exceptions. Most errors will result in one of the previously mentioned ones, but completely generic errors may be thrown using the base class.
180+
- [`LithicException`](lithic-java-core/src/main/kotlin/com/lithic/api/errors/LithicException.kt): Base class for all exceptions. Most errors will result in one of the previously mentioned ones, but completely generic errors may be thrown using the base class.
181181

182182
## Pagination
183183

@@ -368,7 +368,7 @@ CardCreateParams params = CardCreateParams.builder()
368368

369369
These can be accessed on the built object later using the `_additionalHeaders()`, `_additionalQueryParams()`, and `_additionalBodyProperties()` methods. You can also set undocumented parameters on nested headers, query params, or body classes using the `putAdditionalProperty` method. These properties can be accessed on the built object later using the `_additionalProperties()` method.
370370

371-
To set a documented parameter or property to an undocumented or not yet supported _value_, pass a `JsonValue` object to its setter:
371+
To set a documented parameter or property to an undocumented or not yet supported _value_, pass a [`JsonValue`](lithic-java-core/src/main/kotlin/com/lithic/api/core/JsonValue.kt) object to its setter:
372372

373373
```java
374374
import com.lithic.api.core.JsonValue;
@@ -438,7 +438,7 @@ if (type.isMissing()) {
438438

439439
In rare cases, the API may return a response that doesn't match the expected type. For example, the SDK may expect a property to contain a `String`, but the API could return something else.
440440

441-
By default, the SDK will not throw an exception in this case. It will throw `LithicInvalidDataException` only if you directly access the property.
441+
By default, the SDK will not throw an exception in this case. It will throw [`LithicInvalidDataException`](lithic-java-core/src/main/kotlin/com/lithic/api/errors/LithicInvalidDataException.kt) only if you directly access the property.
442442

443443
If you would prefer to check that the response is completely well-typed upfront, then either call `validate()`:
444444

0 commit comments

Comments
 (0)