erpnext-errors-controllers

Official

Robust ERPNext controller error handling.

AuthorOpenAEC-Foundation
Version1.0.0
Installs0

System Documentation

What problem does it solve?

ERPNext Document Controllers can fail in production due to unhandled exceptions, inconsistent rollbacks, and unclear user feedback. This Skill provides structured error handling patterns to make ERPNext controllers resilient and predictable.

Core Features & Use Cases

  • Comprehensive exception handling across hooks (validate, before_submit, on_submit, on_update, before_cancel, on_cancel) with transaction-aware rollback guidance.
  • Centralized logging, user-facing messages, and safe fallbacks to preserve data integrity in ERPNext v14/v15/v16 contexts.
  • Patterns for collecting multiple errors, isolating non-critical operations, and safely updating linked documents during failures.

Quick Start

Analyze a given ERPNext controller and implement production-grade error handling by applying the documented patterns across all hooks and transactions.

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

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.