refactor(msg-bus): prefer explicit enum on AsyncAPI error
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user