Error Space Registry
Registry
Location: igium / Igium.Web / Error Space Registry
Remarks
By convention, error spaces are four digit zero-left-padded strings starting from "0000"
, inclusive. All errors within a logically distinct code collection (a package, a module, a library, a framework) are grouped by using the same error space. Error spaces are distributed centrally via this registry, and every error space is assigned to exactly one code collection (a package, a module, a library, a framework). Using error spaces guarantees that every single error will receive a globally unique identifier in the form "EIG<errspace><code>"
, e.g. "EIG00010022"
. This approach awllows code collections to assign any code to their errors whithout of the risk of collision.
By convention, error codes are four digit zero-left-padded strings starting from "0001"
, inclusive.
Error Spaces
Doc | Error space | Name | Vendor | Code collection | Coll. type | Description |
---|---|---|---|---|---|---|
Errspace EIG0000 | "0000" | SystemError | Igium | Igium.Web | Repository | Defines general purpose errors |
Errspace EIG0001 | "0001" | GoModuleError | Igium | Igium.Web, goclient.js | Script | Internal script errors |
Errspace EIG0002 | "0002" | GoModuleError | Igium | Igium.Web, gonode.js | Script | Internal script errors |
Errspace EIG0003 | "0003" | GoTypeError | Igium | Igium.Web, gotype.js | Script | Internal script errors |
Errspace EIG0004 | "0004" | IgiumError | Igium | Igium.Web | Repository | Non-system igium framework errors |