import { MessageErrorType } from '../../enumerations/messaging/messageErrorType'; import { BrightChainError } from '../brightChainError'; /** * Error class for message passing system errors. * * @remarks * Extends BrightChainError to provide consistent error handling * across the message passing system. * * @example * ```typescript * throw new MessageError( * MessageErrorType.INVALID_RECIPIENT, * 'Invalid recipient node ID format', * { recipientId: 'invalid-id' } * ); * ``` * * @see Design Document: Error Handling section */ export declare class MessageError extends BrightChainError { readonly errorType: MessageErrorType; readonly details?: Record | undefined; constructor(errorType: MessageErrorType, message: string, details?: Record | undefined); } //# sourceMappingURL=messageError.d.ts.map