Skip to content

Commit 335bf06

Browse files
committed
docs(readme.md): updated the Error Handling section of the README
Updated the Error Handling section to add the 'TARGET_SERVICE_NOT_FOUND' error and it's details.
1 parent 02bd1cb commit 335bf06

File tree

1 file changed

+7
-6
lines changed

1 file changed

+7
-6
lines changed

README.md

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -244,12 +244,13 @@ try {
244244

245245
The **[Client](https://github.com/arijitcodes/microstream-client)** may throw the following error types:
246246

247-
| Error Code | Description |
248-
| -------------------------------- | ----------------------------------------------------------------------- |
249-
| `INTERNAL_SERVER_ERROR` | Occurs when an event handler fails during execution |
250-
| `EVENT_NOT_FOUND` | Thrown when no handler is registered for the requested event |
251-
| `REQUEST_TIMEOUT` | Occurs when a request exceeds the configured timeout period |
252-
| `DUPLICATE_SERVICE_REGISTRATION` | Thrown when attempting to register a service name that's already in use |
247+
| Error Code | Description |
248+
| -------------------------------- | ---------------------------------------------------------------------------------------- |
249+
| `INTERNAL_SERVER_ERROR` | Occurs when an event handler fails during execution |
250+
| `EVENT_NOT_FOUND` | Thrown when no handler is registered for the requested event |
251+
| `REQUEST_TIMEOUT` | Occurs when a request exceeds the configured timeout period |
252+
| `DUPLICATE_SERVICE_REGISTRATION` | Thrown when attempting to register a service name that's already in use |
253+
| `TARGET_SERVICE_NOT_FOUND` | Thrown when attempting to send a request to a service that isn't registered with the hub |
253254

254255
### Usage Examples 💡
255256

0 commit comments

Comments
 (0)