Answer: The error handling hook returns null or undefined to use default error handling, or otherwise an object with fields suppressOutput (boolean), errorHandling (string: "retry", "skip", or "abort"), retryCount (number), and userNotification (string). The text does not describe the input the hook receives. Status: Confirmed Entry: tool/github-copilot/agents-and-automation/error-hook-input-output Revision: 3 Digest: sha256:0eccad039713f4bc (changes whenever the content changes) Timeline: Created: 2026-11-13T03:28:29Z Last changed: 2026-11-18T13:04:06Z (default return: — → null or undefined) Last verified: 2026-11-20T13:08:54Z Next check: 2026-11-21T13:08:54Z Check interval: Daily Expected change: No fixed schedule Data: Field | Value | Source | As of default return | null or undefined | [1] | 2026-11-20 suppressOutput | boolean | [1] | 2026-11-20 errorHandling | "retry" , "skip" , or "abort" | [1] | 2026-11-20 retryCount | number | [1] | 2026-11-20 userNotification | string | [1] | 2026-11-20 Sources: [1] GitHub. "Error handling hook - GitHub Docs". https://docs.github.com/en/copilot/how-tos/copilot-sdk/hooks/error-handling Role: primary. Accessed: 2026-11-20T13:08:54Z Quote: "Return null or undefined to use default error handling." (Supports: default return) Quote: "suppressOutput boolean If true, don't show error output to user" (Supports: suppressOutput) Quote: "errorHandling string How to handle: "retry" , "skip" , or "abort"" (Supports: errorHandling) Quote: "retryCount number Number of times to retry (if errorHandling is "retry" )" (Supports: retryCount) Quote: "userNotification string Custom message to show the user" (Supports: userNotification) Snapshot SHA-256: 4b16a610889bf49eefe4c44b149289395e9e4f7627bdf7a349d6ce4cfbc12913 (captured 2026-11-18T13:04:06Z) Verification: Method: Automated extraction from [1] with deepseek-flash (JSON output, thinking disabled). Every value was checked by code to appear verbatim in a quoted passage of [1]. On this check the text of [1] was unchanged since 2026-11-18T13:04:06Z, so the values verified then were kept. Cross-check: not-available at 2026-11-20T13:08:54Z. No independent second source is configured for this entry Last successful check: 2026-11-20T13:08:54Z Last attempt: 2026-11-20T13:08:54Z Notes and limitations: Extracted automatically from a single official source (section "Output"). Related: https://latestn.com/tool/github-copilot/agents-and-automation/example-agent-profiles What example custom agent profiles does GitHub Copilot provide? https://latestn.com/tool/github-copilot/agents-and-automation/find-issues-pending-suggestions How do I find issues with pending GitHub Copilot suggestions? https://latestn.com/tool/github-copilot/agents-and-automation/find-technical-debt-cloud-agent How can I let GitHub Copilot cloud agent find technical debt in my project? https://latestn.com/tool/github-copilot/agents-and-automation/enable-subagents How do I enable subagents in GitHub Copilot in my IDE? https://latestn.com/tool/github-copilot/agents-and-automation/error-handling-hook-signature How do I create an error handling hook in the GitHub Copilot SDK? https://latestn.com/tool/github-copilot/agents-and-automation/error-hook-best-practices What are best practices for using the GitHub Copilot SDK error handling hook? https://latestn.com/tool/ All entries in AI tools Change log: Time | Event | Change | Source 2026-11-18T13:04:06Z | changed | default return: — → null or undefined | [1] 2026-11-18T13:04:06Z | changed | return default: null or undefined → — | [1] 2026-11-16T12:52:53Z | changed | return default: — → null or undefined | [1] 2026-11-16T12:52:53Z | changed | errorHandling: string → "retry" , "skip" , or "abort" | [1] 2026-11-16T12:52:53Z | changed | return value: null or undefined → — | [1] 2026-11-13T03:28:29Z | added | Entry created | — Changes for this entry as a feed: https://latestn.com/tool/github-copilot/agents-and-automation/error-hook-input-output/latest Challenge this entry: Open challenges: None How: If a value here is wrong or out of date, send what is wrong and a link to evidence. Challenges are queued and checked against the evidence; they do not change the entry by themselves. If the entry changes as a result, the change log says so. Form: https://latestn.com/dispute/tool/github-copilot/agents-and-automation/error-hook-input-output POST: https://latestn.com/dispute/tool/github-copilot/agents-and-automation/error-hook-input-output with claim, evidence_url, and optionally field and contact (form-encoded or JSON) GET: https://latestn.com/dispute/tool/github-copilot/agents-and-automation/error-hook-input-output?claim={what is wrong}&evidence_url={link} How to cite: LatestN. (2026). What input and output does the GitHub Copilot SDK error handling hook receive and return? Revision 3, last verified 2026-11-20T13:08:54Z. https://latestn.com/tool/github-copilot/agents-and-automation/error-hook-input-output (accessed 2026-11-21T09:59:11Z). @misc{LatestN_tool_github_copilot_agents_and_automation_error_hook_input_output_r3, title = {What input and output does the GitHub Copilot SDK error handling hook receive and return?}, author = {{LatestN}}, year = {2026}, howpublished = {\url{https://latestn.com/tool/github-copilot/agents-and-automation/error-hook-input-output}}, note = {Revision 3; digest sha256:0eccad039713f4bc; last verified 2026-11-20T13:08:54Z; accessed 2026-11-21T09:59:11Z} } Reuse: License: CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/) Attribution: Copying and adapting are allowed, including commercially, if you credit LatestN and link to the entry you used. Each entry ends with a ready-made citation. URL: https://latestn.com/tool/github-copilot/agents-and-automation/error-hook-input-output