erpnext-errors-database

Official

Robust ERPNext error handling patterns.

AuthorOpenAEC-Foundation
Version1.0.0
Installs0

System Documentation

What problem does it solve?

ERPNext database operations frequently encounter runtime errors such as DoesNotExistError, DuplicateEntryError, and transaction failures. This Skill provides a structured, battle-tested approach to detect, handle, and recover from these errors to keep ERPNext apps reliable and predictable.

Core Features & Use Cases

  • Safe Document Fetch: Check existence before get_doc or catch DoesNotExistError
  • Safe Document Insert: Handle DuplicateEntryError and provide graceful fallbacks
  • Safe Document Delete: Manage LinkExistsError and provide user-friendly messages
  • Concurrency & Transactions: Handle TimestampMismatchError and ensure proper commits
  • Batch Operations: Isolate errors per item to improve resilience
  • Safe Queries & Logging: Promote parameterized SQL and robust logging for debugging

Quick Start

Integrate this skill by adopting its safe fetch/insert/delete patterns and concurrency controls for ERPNext database operations in your codebase.

Dependency Matrix

Required Modules

None required

Components

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: erpnext-errors-database
Download link: https://github.com/OpenAEC-Foundation/ERPNext_Anthropic_Claude_Development_Skill_Package/archive/main.zip#erpnext-errors-database

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.