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;
  }
}
