The error checking relies on string matching which is fragile and may not catch all cases. Consider checking for specific error types or wrapping errors with typed error handling for more robust detection of 'not found' errors.
Originally posted by @Copilot in #34 (comment)