Skip to content

ManagerErrors

const ManagerErrors: object

Defined in: packages/core/src/errors.ts:83

Factory functions for ModuleManager-related errors.

readonly alreadyRegistered: (name) => ProcwireError

Module already registered

string

ProcwireError

readonly dataChannelFailed: (message) => ProcwireError

Data channel connection failed

string

ProcwireError

readonly initTimeout: (name, timeout) => ProcwireError

Init timeout

string

number

ProcwireError

readonly invalidInitFormat: (name) => ProcwireError

Invalid init message format

string

ProcwireError

readonly moduleError: (name, message) => ProcwireError

Module error from child

string

string

ProcwireError

readonly notRegistered: (name) => ProcwireError

Module not registered

string

ProcwireError

readonly processCrashed: (name, exitCode, signal) => ProcwireError

Module process crashed

string

number | null

string | null

ProcwireError

readonly restartFailed: (message) => ProcwireError

Restart failed

string

ProcwireError

readonly schemaMissingEvent: (name, event) => ProcwireError

Schema validation failed - missing event

string

string

ProcwireError

readonly schemaMissingMethod: (name, method) => ProcwireError

Schema validation failed - missing method

string

string

ProcwireError

readonly tooManyRestarts: () => ProcwireError

Too many restarts

ProcwireError