cf-modkit-errors-macro 0.1.0

ModKit errors macro
Documentation

Proc-macro for generating strongly-typed error catalogs from JSON.

This macro reads a JSON file at compile time, validates error definitions, and generates type-safe error code enums and helper macros.

Usage

The macro is self-contained and handles imports automatically.

declare_errors! {
    path = "gts/errors_system.json",
    namespace = "system_errors",
    vis = "pub"
}