import { DidCommProblemReportError } from "../../../errors/problem-reports/DidCommProblemReportError.mjs";
import "../../../errors/index.mjs";
import { DidCommDidExchangeProblemReportMessage } from "../messages/DidCommDidExchangeProblemReportMessage.mjs";
import "../messages/index.mjs";

//#region ../didcomm/src/modules/connections/errors/DidExchangeProblemReportError.ts
var DidExchangeProblemReportError = class extends DidCommProblemReportError {
	constructor(message, { problemCode }) {
		super(message, { problemCode });
		this.message = message;
		this.problemReport = new DidCommDidExchangeProblemReportMessage({ description: {
			en: message,
			code: problemCode
		} });
	}
};

//#endregion
export { DidExchangeProblemReportError };
//# sourceMappingURL=DidExchangeProblemReportError.mjs.map