Graphorin API reference v0.1.0
Graphorin API reference / @graphorin/server / errors
errors
Typed error surface for @graphorin/server. Every server-side configuration / lifecycle / runtime failure that an operator must be able to reason about flows through one of the classes in this module so it carries a stable kind discriminator + hint field pointing the operator at the next remediation step.
Classes
| Class | Description |
|---|---|
| AgentNotFoundError | - |
| ConfigInvalidError | - |
| GraphorinServerError | Base error class. Every server-emitted typed error inherits from here so middleware can pattern-match a single union. |
| IdempotencyConflictError | - |
| IdempotencyKeyRequiredError | - |
| LifecycleDoubleStartError | - |
| LifecycleNotStartedError | - |
| MigrationFailedError | - |
| PrebindEncryptionPeerMissingError | - |
| PrebindEncryptionRequiredError | - |
| PrebindPepperMissingError | - |
| PrebindSecretUnresolvableError | - |
| RouteHandlerMissingError | - |
| ShutdownTimeoutError | - |
| WorkflowNotFoundError | - |
Type Aliases
| Type Alias | Description |
|---|---|
| GraphorinServerErrorCode | Stable string discriminator for GraphorinServerError. Each value maps to a single failure scenario; never reuse a value for a different cause. |