Skip to content

Commit 1801e21

Browse files
docs: add source file links to readme
1 parent e61bcc1 commit 1801e21

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-
- `ArcadeServiceException`: Base class for HTTP errors. See this table for which exception subclass is thrown for each HTTP status code:
163+
- [`ArcadeServiceException`](arcade-java-core/src/main/kotlin/org/arcadeai/api/errors/ArcadeServiceException.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-
- `ArcadeIoException`: I/O networking errors.
176+
- [`ArcadeIoException`](arcade-java-core/src/main/kotlin/org/arcadeai/api/errors/ArcadeIoException.kt): I/O networking errors.
177177

178-
- `ArcadeInvalidDataException`: 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+
- [`ArcadeInvalidDataException`](arcade-java-core/src/main/kotlin/org/arcadeai/api/errors/ArcadeInvalidDataException.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-
- `ArcadeException`: 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+
- [`ArcadeException`](arcade-java-core/src/main/kotlin/org/arcadeai/api/errors/ArcadeException.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
## Logging
183183

@@ -293,7 +293,7 @@ ToolExecuteParams params = ToolExecuteParams.builder()
293293

294294
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.
295295

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

298298
```java
299299
import org.arcadeai.api.models.ExecuteToolRequest;
@@ -364,7 +364,7 @@ if (field.isMissing()) {
364364

365365
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.
366366

367-
By default, the SDK will not throw an exception in this case. It will throw `ArcadeInvalidDataException` only if you directly access the property.
367+
By default, the SDK will not throw an exception in this case. It will throw [`ArcadeInvalidDataException`](arcade-java-core/src/main/kotlin/org/arcadeai/api/errors/ArcadeInvalidDataException.kt) only if you directly access the property.
368368

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

0 commit comments

Comments
 (0)