Skip to content

armgit / hypit

Public Imported from GitHub
0

Clone any viral video with AI agents. Not just a script, the whole workflow: swap the face, the words, the B-roll, ship 100 variants in one command, and get your 100M views.

445 B
Raw Blame
export class ScriptSyntaxError extends Error {
  readonly code: string;
  readonly sourceName: string;
  readonly offset: number | undefined;

  constructor(code: string, message: string, sourceName: string, offset?: number) {
    super(`${code}: ${message}${offset === undefined ? "" : ` (${sourceName}:${offset})`}`);
    this.name = "ScriptSyntaxError";
    this.code = code;
    this.sourceName = sourceName;
    this.offset = offset;
  }
}