frappe-errors-api
OfficialHardens API error handling in Frappe.
AuthorOpenAEC-Foundation
Version1.0.0
Installs0
System Documentation
What problem does it solve?
Frappe/ERPNext REST endpoints can misbehave when errors are not clearly defined or communicated, leading to silent failures and poor client handling.
Core Features & Use Cases
- Provides a standardized mapping of common HTTP status codes to Frappe exceptions (400/417 for validation, 403 for permission, 404 for not found, 500+ for server errors).
- Enforces explicit input validation, permission checks, consistent error responses, logging, and retry/backoff patterns for 5xx responses.
- Useful for building robust API modules, webhooks, and external integrations with predictable error handling and audit trails.
Quick Start
Setup a whitelisted API endpoint to raise specific exceptions, log errors, and return structured error payloads to clients.
Dependency Matrix
Required Modules
None requiredComponents
references
💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: frappe-errors-api Download link: https://github.com/OpenAEC-Foundation/Frappe_Claude_Skill_Package/archive/main.zip#frappe-errors-api Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.