home/roleplay/capture-exception

Capture Exception

GPTClaudeGemini··868 copies·updated 2026-07-14
capture-exception.prompt
Show how to catch a database error in an Express route, attach the user's ID to the Sentry scope, and manually capture the exception.

when to use it

Community prompt sourced from the open-source GitHub repo ashish7802/awesome-api-skills (MIT). A "Capture Exception" style prompt — adapt the placeholders and specifics to your task. Imported as-is and not independently retested here, so check the output before relying on it.

tags

roleplaycommunitygeneral

source

ashish7802/awesome-api-skills · MIT