Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions docs/error-handling.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
# Extraction error handling

Applications using the SDK should distinguish request failures from extraction failures. A request failure means the source could not be reached or rejected the request; an extraction failure means a response was received but did not satisfy the requested shape.

Callers should preserve the request identifier and provider response metadata while avoiding the storage of credentials or full private page contents in logs. Retry only transient transport failures, not validation errors caused by an invalid extraction instruction.