Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Latest commit

 

History

History
21 lines (17 loc) · 844 Bytes

File metadata and controls

21 lines (17 loc) · 844 Bytes
description Explain Better Auth error codes and provide solutions with code examples
argument-hint
error_code or error_message

Explain Better Auth Error

Provide a comprehensive explanation of the given Better Auth error code or error message:

  1. Accept the error code or full error message from the arguments
  2. Explain in plain English what the error means
  3. List common causes of this error
  4. Provide specific solutions and handling recommendations
  5. Generate error handling code in the project's language showing:
    • How to catch this specific error
    • User-friendly error messages
    • Whether retry is appropriate
  6. Mention related error codes the developer should be aware of
  7. Include a link to the relevant Better Auth documentation

Focus on actionable solutions and production-ready error handling patterns.