//#region src/errors.ts
var InsufficientBalanceError = class extends Error {
	name = "InsufficientBalanceError";
	code = "INSUFFICIENT_BALANCE";
	_ledgerError = "InsufficientBalanceError";
	constructor() {
		super("INSUFFICIENT_BALANCE");
	}
};
function isInsufficientBalanceError(e) {
	return typeof e === "object" && e !== null && e._ledgerError === "InsufficientBalanceError";
}
var VestingInvariantError = class extends Error {
	code = "VESTING_INVARIANT";
	_ledgerError = "VestingInvariantError";
	constructor(message) {
		super(message);
		this.name = "VestingInvariantError";
	}
};
function isVestingInvariantError(e) {
	return typeof e === "object" && e !== null && e._ledgerError === "VestingInvariantError";
}
//#endregion
export { isVestingInvariantError as i, VestingInvariantError as n, isInsufficientBalanceError as r, InsufficientBalanceError as t };
