summaryrefslogtreecommitdiff
path: root/external_plugins/stripe/commands/explain-error.md
diff options
context:
space:
mode:
authorNoah Zweben MacBook <noahz@anthropic.com>2025-12-18 08:46:44 -0800
committerNoah Zweben MacBook <noahz@anthropic.com>2025-12-18 08:46:44 -0800
commitda8a7383246ba444796cbc1f181f247e8bb0d9a2 (patch)
tree8024003a2a790664f7da3c8c9352983f32d247de /external_plugins/stripe/commands/explain-error.md
parent75b126f3babf9abc04a8e3f89e16071a8c0130cc (diff)
added new partnersnoahz/addsentryslack
Diffstat (limited to 'external_plugins/stripe/commands/explain-error.md')
-rw-r--r--external_plugins/stripe/commands/explain-error.md21
1 files changed, 21 insertions, 0 deletions
diff --git a/external_plugins/stripe/commands/explain-error.md b/external_plugins/stripe/commands/explain-error.md
new file mode 100644
index 00000000..6680d666
--- /dev/null
+++ b/external_plugins/stripe/commands/explain-error.md
@@ -0,0 +1,21 @@
+---
+description: Explain Stripe error codes and provide solutions with code examples
+argument-hint: [error_code or error_message]
+---
+
+# Explain Stripe Error
+
+Provide a comprehensive explanation of the given Stripe 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 Stripe documentation
+
+Focus on actionable solutions and production-ready error handling patterns. \ No newline at end of file