import { UserError } from "../user-error.js";
export class ApprovalDeclinedError extends UserError {
    reason;
    approvalId;
    commandPath;
    constructor(options) {
        super(options.reason === undefined ? "Declined." : `Declined: ${options.reason}`);
        this.name = "ApprovalDeclinedError";
        this.reason = options.reason;
        this.approvalId = options.approvalId;
        this.commandPath = options.commandPath;
    }
}
