erpnext-errors-serverscripts

Official

Deterministic ERPNext Server Script error handling

AuthorOpenAEC-Foundation
Version1.0.0
Installs0

System Documentation

What problem does it solve?

ERPNext Server Scripts run in a sandbox with restricted capabilities, making conventional error handling brittle. This skill provides a comprehensive set of deterministic error-handling patterns that guide developers to produce predictable behavior, actionable feedback, and safer data operations within Server Scripts.

Core Features & Use Cases

  • Comprehensive validation, warning, and error-throwing strategies for ERPNext Server Scripts.
  • Safe database access, permission checks, and idempotent batch processing patterns to avoid partial failures.
  • Real-world use cases include document-event validation, API endpoints, and scheduled tasks with robust logging and rollback safety.

Quick Start

Identify a document event, collect all validation errors, and throw them together with a clear, user-friendly message.

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

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.