Skip to content

Commit 8332927

Browse files
authored
docs: add TokenizerError to error handling section (#788)
## Description <!-- Provide a concise and descriptive summary of the changes implemented in this PR. --> ### Introduces a breaking change? - [ ] Yes - [ ] No ### Type of change - [ ] Bug fix (change which fixes an issue) - [ ] New feature (change which adds functionality) - [ ] Documentation update (improves or adds clarity to existing documentation) - [ ] Other (chores, tests, code style improvements etc.) ### Tested on - [ ] iOS - [ ] Android ### Testing instructions <!-- Provide step-by-step instructions on how to test your changes. Include setup details if necessary. --> ### Screenshots <!-- Add screenshots here, if applicable --> ### Related issues <!-- Link related issues here using #issue-number --> ### Checklist - [ ] I have performed a self-review of my code - [ ] I have commented my code, particularly in hard-to-understand areas - [ ] I have updated the documentation accordingly - [ ] My changes generate no new warnings ### Additional notes <!-- Include any additional information, assumptions, or context that reviewers might need to understand this PR. -->
1 parent ce38697 commit 8332927

1 file changed

Lines changed: 6 additions & 5 deletions

File tree

docs/docs/05-utilities/04-error-handling.md

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -130,11 +130,12 @@ These errors are specific to streaming transcription operations.
130130

131131
These errors come from the ExecuTorch runtime during model execution.
132132

133-
| Error Code | Description | When It Occurs | How to Handle |
134-
| -------------------- | ---------------------------- | ---------------------------------------------- | ---------------------------------------------- |
135-
| `InvalidModelOutput` | Model output size unexpected | Model produces output of wrong size | Verify model is compatible with the library |
136-
| `ThreadPoolError` | Threadpool operation failed | Internal threading issue | Restart the model or app |
137-
| `UnknownError` | Unexpected error occurred | 3rd-party library error or unhandled exception | Check logs for details, report if reproducible |
133+
| Error Code | Description | When It Occurs | How to Handle |
134+
| -------------------- | -------------------------------- | ---------------------------------------------- | ---------------------------------------------- |
135+
| `InvalidModelOutput` | Model output size unexpected | Model produces output of wrong size | Verify model is compatible with the library |
136+
| `ThreadPoolError` | Threadpool operation failed | Internal threading issue | Restart the model or app |
137+
| `TokenizerError` | Tokenizer or tokenization failed | Tokenizer initialization or processing error | Check tokenizer files and model compatibility |
138+
| `UnknownError` | Unexpected error occurred | 3rd-party library error or unhandled exception | Check logs for details, report if reproducible |
138139

139140
### ExecuTorch Runtime Errors
140141

0 commit comments

Comments
 (0)