🎯
Coding & Development

API Hata Yönetimi İyileştirme

API kodunuzdaki eksik hata senaryolarını bulur ve düzeltme önerir.

PROMPT
Aşağıdaki API endpoint kodunu incele. Olası hata senaryolarını (geçersiz girdi, zaman aşımı, yetkisiz erişim vb.) tespit et ve her biri için uygun HTTP durum kodları ve açıklayıcı hata mesajları içeren bir hata yönetimi yapısı öner:

[kodunuzu buraya yapıştırın]
1CUSTOMIZE

Replace the bracketed fields with your own goal, audience and context.

2RUN

Paste the prompt into the recommended tool; treat the first output as a draft.

3REFINE

Point out gaps, add examples, and define the output format you want more precisely.

Recommended tool: Claude

We recommend using this prompt with Claude.

Claude Page →