Optional
metadata: Record<string, any>Readonly
metadataAdditional structured data about the violation
Readonly
nameThe error name, formatted as ViolationError
Optional
stackReadonly
typeThe specific type/category of the violation
Static
Optional
prepareOptional override for formatting stack traces
Static
stack
ConfigViolation indicates system configuration or routing issues where events are mismatched with their handlers. This occurs separately from contract violations and represents problems with the system topology itself, such as:
Requires explicit resolution as it indicates fundamental routing or setup issues.