@ipp/cli
Version:
An image build orchestrator for the modern web
25 lines (24 loc) • 806 B
TypeScript
/**
* Image Processing Pipeline - Copyright (c) Marcus Cemes
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
import { Exception } from "@ipp/common";
export declare enum CliExceptionCode {
CONFIG_LOAD = "CONFIG_LOAD",
CONFIG_PARSE = "CONFIG_PARSE",
CLEAN = "CLEAN",
ARG_VALIDATION = "ARG_VALIDATE",
SEARCH = "SEARCH",
MANIFEST = "MANIFEST",
SAVE = "SAVE",
UNKNOWN = "UNKNOWN"
}
export declare class CliException extends Exception {
code?: CliExceptionCode | undefined;
title?: string | undefined;
comment?: string | undefined;
name: string;
constructor(message: string, code?: CliExceptionCode | undefined, title?: string | undefined, comment?: string | undefined);
}