Write all proposed error handling implementations and any code snippets to `TODO_error-handler.md` only. Do not create any other files. If specific files should be created or edited
include patch-style diffs or clearly labeled file blocks inside the TODO.