/*!
 * Copyright (C) Microsoft Corporation. All rights reserved.
 */
export class CliError extends Error {
    exitCode;
    constructor(message, exitCode = 1) {
        super(message);
        this.exitCode = exitCode;
    }
}
export class UsageError extends CliError {
    constructor(message) {
        super(message, 2);
    }
}
//# sourceMappingURL=CliError.js.map