arvo-event-handler
Version:
Type-safe event handler system with versioning, telemetry, and contract validation for distributed Arvo event-driven architectures, featuring routing and multi-handler support.
17 lines (16 loc) • 622 B
TypeScript
import { type ArvoEvent, ViolationError } from 'arvo-core';
export declare enum TransactionViolationCause {
READ_FAILURE = "READ_MACHINE_MEMORY_FAILURE",
LOCK_FAILURE = "LOCK_MACHINE_MEMORY_FAILURE",
WRITE_FAILURE = "WRITE_MACHINE_MEMORY_FAILURE",
LOCK_UNACQUIRED = "LOCK_UNACQUIRED",
INVALID_SUBJECT = "INVALID_SUBJECT"
}
export declare class TransactionViolation extends ViolationError<'OrchestratorTransaction'> {
readonly cause: TransactionViolationCause;
constructor(param: {
cause: TransactionViolationCause;
message: string;
initiatingEvent: ArvoEvent;
});
}