const require_rolldown_runtime = require('../../../../../_virtual/rolldown_runtime.js');
const require_DidCommProblemReportMessage = require('../../messages/problem-reports/DidCommProblemReportMessage.js');
require('../../messages/problem-reports/index.js');
let __credo_ts_core = require("@credo-ts/core");
__credo_ts_core = require_rolldown_runtime.__toESM(__credo_ts_core);

//#region ../didcomm/src/errors/problem-reports/DidCommProblemReportError.ts
var DidCommProblemReportError = class extends __credo_ts_core.CredoError {
	constructor(message, { problemCode }) {
		super(message);
		this.problemReport = new require_DidCommProblemReportMessage.DidCommProblemReportMessage({ description: {
			en: message,
			code: problemCode
		} });
	}
};

//#endregion
exports.DidCommProblemReportError = DidCommProblemReportError;