1 | import { SerializePath } from './StructureNodes';
|
2 | export declare class SerializeError extends Error {
|
3 | readonly path: SerializePath;
|
4 | helpId?: HELP_URL;
|
5 | constructor(message: string, parentPath: SerializePath, pathSegment: string | number | undefined, hint?: string);
|
6 | withHelpUrl(id: HELP_URL): SerializeError;
|
7 | }
|
8 | export declare enum HELP_URL {
|
9 | ID_REQUIRED = "structure-node-id-required",
|
10 | TITLE_REQUIRED = "structure-title-required",
|
11 | FILTER_REQUIRED = "structure-filter-required",
|
12 | INVALID_LIST_ITEM = "structure-invalid-list-item",
|
13 | DOCUMENT_ID_REQUIRED = "structure-document-id-required",
|
14 | SCHEMA_TYPE_REQUIRED = "structure-schema-type-required",
|
15 | SCHEMA_TYPE_NOT_FOUND = "structure-schema-type-not-found",
|
16 | LIST_ITEMS_MUST_BE_ARRAY = "structure-list-items-must-be-array",
|
17 | QUERY_PROVIDED_FOR_FILTER = "structure-query-provided-for-filter",
|
18 | ACTION_OR_INTENT_REQUIRED = "structure-action-or-intent-required",
|
19 | LIST_ITEM_IDS_MUST_BE_UNIQUE = "structure-list-item-ids-must-be-unique",
|
20 | ACTION_AND_INTENT_MUTUALLY_EXCLUSIVE = "structure-action-and-intent-mutually-exclusive"
|
21 | }
|