Expand description
§waddling-sequences
Standard error sequence definitions for the Waddling ecosystem
This crate provides standardized sequence numbers with semantic meanings that are consistent across all Waddling projects.
§Quick Start
use waddling_sequences::core::*;
const MY_ERROR: u16 = MISSING; // 001 - always means "missing"
const OTHER_ERROR: u16 = MISMATCH; // 002 - always means "mismatch"§Categories
core- Core errors (001-010): missing, mismatch, invalid, etc.state- State/lifecycle errors (011-020): uninitialized, closed, etc.resource- Resource errors (021-030): not found, locked, corrupted, etc.success- Success codes (998-999): partial, complete
§Benefits
- ✅ Zero dependencies - Just pure constants
- ✅ Tree-shakeable - Only what you import is compiled in
- ✅ Universal - Works with any error library
- ✅ Consistent - Same meanings across all projects