"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.messageReplyFromError = void 0;
function messageReplyFromError(e, code) {
    const detail = e instanceof Error ? e.message : 'Error';
    return { status: { code, detail } };
}
exports.messageReplyFromError = messageReplyFromError;
//# sourceMappingURL=message-reply.js.map