MCPcopy Create free account
hub / github.com/Datakitpage/Datakit / constructor

Method constructor

frontend/src/types/remoteImport.ts:188–191  ·  view source on GitHub ↗
(provider: ImportProvider, format: string)

Source from the content-addressed store, hash-verified

186
187export class FormatError extends RemoteImportError {
188 constructor(provider: ImportProvider, format: string) {
189 super(`Unsupported file format: ${format}`, provider, "FORMAT_ERROR");
190 this.name = "FormatError";
191 }
192}
193
194/**

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected