refactor(msg-bus): prefer explicit enum on AsyncAPI error

This commit is contained in:
Edouard Vanbelle
2026-09-11 00:33:45 +02:00
parent 7918fff47b
commit ad9eab6f92
4 changed files with 93 additions and 30 deletions
@@ -1,9 +1,8 @@
import type RtErrorCode from './RtErrorCode';
import type RtErrorMessage from './RtErrorMessage';
// AUTO-GENERATED — do not edit by hand.
// Regenerate with `just asyncapi-ts`.
interface RtErrorObject {
code: RtErrorCode;
code: number;
data?: unknown;
message: RtErrorMessage;
}