Skip to content

Commit

Permalink
Fix broken tab
Browse files Browse the repository at this point in the history
  • Loading branch information
hypergonial committed Jan 2, 2024
1 parent ac0740f commit af99c9c
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions docs/guides/error_handling.md
Original file line number Diff line number Diff line change
Expand Up @@ -50,19 +50,19 @@ This can also be used as a regular function if using a decorator is not feasible

=== "Gateway"

```py
@arc.loader
async def load(client: arc.GatewayClient) -> None:
client.set_error_handler(some_func)
```
```py
@arc.loader
async def load(client: arc.GatewayClient) -> None:
client.set_error_handler(some_func)
```

=== "REST"

```py
@arc.loader
async def load(client: arc.RESTClient) -> None:
client.set_error_handler(some_func)
```
```py
@arc.loader
async def load(client: arc.RESTClient) -> None:
client.set_error_handler(some_func)
```

## Error handler resolution order

Expand Down

0 comments on commit af99c9c

Please sign in to comment.