Simon Willison’s Weblog

Subscribe

7th August 2022

TIL Mocking a Textract LimitExceededException with boto — For [s3-ocr issue #21](https://github.com/simonw/s3-ocr/issues/21) I needed to write a test that simulates what happens when Amazon Textract returns a "LimitExceededException". When using boto this error presents itself as an exception:

This is a beat by Simon Willison, posted on 7th August 2022.

Monthly briefing

Sponsor me for $10/month and get a curated email digest of the month's most important LLM developments.

Pay me to send you less!

Sponsor & subscribe