// ╔═══════╗╔═╗ ╔═╗╔══════╗ ╔═══════╗╔═══════╗╔═══════╗╔═══════╗ ╔═══════╗╔═══════╗╔═══════╗╔═══════╗╔═══════╗╔═══════╗ ╔═══════╗╔═══════╗ // ║ ╔═════╝║ ║ ║ ║║ ╔══╗ ║ ╚═══╗ ╔═╝║ ╔═════╝║ ╔═════╝╚══╗ ╔══╝ ║ ╔═════╝║ ╔═══╗ ║║ ╔═══╗ ║║ ╔═══╗ ║║ ╔═══╗ ║║ ╔═════╝ ╚══╗ ╔══╝║ ╔═════╝ // ║ ╚═════╗║ ║ ║ ║║ ╚══╝ ╚╗ ║ ║ ║ ╚═════╗║ ║ ║ ║ ╔═══════╗║ ╚═════╗║ ╚═══╝ ║║ ╚═══╝ ║║ ║ ║ ║║ ╚═══╝ ║║ ╚═════╗ ║ ║ ║ ╚═════╗ // ╚═════╗ ║║ ║ ║ ║║ ╔═══╗ ║ ║ ║ ║ ╔═════╝║ ║ ║ ║ ╚═══════╝║ ╔═════╝║ ╔═╗ ╔═╝║ ╔═╗ ╔═╝║ ║ ║ ║║ ╔═╗ ╔═╝╚═════╗ ║ ║ ║ ╚═════╗ ║ // ╔═════╝ ║║ ╚═══╝ ║║ ╚═══╝ ║╔═══╝ ║ ║ ╚═════╗║ ╚═════╗ ║ ║ ║ ╚═════╗║ ║ ║ ╚═╗║ ║ ║ ╚═╗║ ╚═══╝ ║║ ║ ║ ╚═╗╔═════╝ ║╔═╗ ║ ║ ╔═════╝ ║ // ╚═══════╝╚═══════╝╚═══════╝╚═════╝ ╚═══════╝╚═══════╝ ╚═╝ ╚═══════╝╚═╝ ╚═══╝╚═╝ ╚═══╝╚═══════╝╚═╝ ╚═══╝╚═══════╝╚═╝ ╚═╝ ╚═══════╝ // ╔═══════╗╔═╗ ╔═╗╔══════╗ ╔═══════╗╔═══════╗╔═══════╗╔═══════╗ // ║ ╔═════╝║ ║ ║ ║║ ╔══╗ ║ ╚═══╗ ╔═╝║ ╔═════╝║ ╔═════╝╚══╗ ╔══╝ // ║ ╚═════╗║ ║ ║ ║║ ╚══╝ ╚╗ ║ ║ ║ ╚═════╗║ ║ ║ ║ // ╚═════╗ ║║ ║ ║ ║║ ╔═══╗ ║ ║ ║ ║ ╔═════╝║ ║ ║ ║ // ╔═════╝ ║║ ╚═══╝ ║║ ╚═══╝ ║╔═══╝ ║ ║ ╚═════╗║ ╚═════╗ ║ ║ // ╚═══════╝╚═══════╝╚═══════╝╚═════╝ ╚═══════╝╚═══════╝ ╚═╝ export class InvalidMessageSubjectError extends Error { constructor(message = 'The referenced message subject is invalid') { super(message); this.name = 'InvalidMessageSubjectError'; } } export function throwInvalidMessageSubjectError(message?: string) { throw new InvalidMessageSubjectError(message); }