UNPKG

curl_transcode

Version:

Transcode cURL query to various programming languages

27 lines (23 loc) 518 B
export class CommandLineError extends Error { constructor(message: string) { super(message); this.name = CommandLineError.name; } } export class ConfigError extends Error { /** * Path to configuration file. */ file: string; constructor(file: string, message: string) { super(message); this.name = ConfigError.name; this.file = file; } } export class TranscodeError extends Error { constructor(message: string) { super(message); this.name = TranscodeError.name; } }