Skip to main content

Module error

Module error 

Source
Expand description

Provides the error module.

§Examples

ⓘ
use pharos_runtime_core::error;
  • crate for sibling modules in the same crate. Stable public error taxonomy shared by HTTP, CLI, jobs, migrations, and integrations.

Enums§

ErrorCode
Stable failure taxonomy shared across HTTP, CLI, jobs, and integration surfaces.

Constants§

ERROR_SCHEMA
Schema identifier used by the public Pharos error envelope.

Functions§

envelope
Builds the stable public error envelope returned by runtime and CLI surfaces.