Adds error messages

This commit is contained in:
Henning Dieterichs
2019-10-06 11:34:52 +02:00
parent 8fdd2f1f88
commit e73bbe8b5e

View File

@@ -14,7 +14,8 @@ export type DataResult =
kind: "Data";
extractionResult: DataExtractionResult;
}
| { kind: "NoExtractors" };
| { kind: "NoExtractors" }
| { kind: "Error"; message: string };
export interface JSONString<T> extends String {
__brand: { json: T };