@sheetwrite/coreclass
Path-qualified schema failure found while validating an untrusted snapshot.
- Package
@sheetwrite/core- Source
packages/core/src/document-protocol.ts#L185
Members 3
constructor
constructor(errors: readonly DocumentValidationErrorinterface DocumentValidationError {
path: string;
code:
| "unsupported-schema"
| "invalid-value"
| "duplicate-id"
| "missing-reference"
| "out-of-bounds"
| "overlapping-merge"
| "non-serializable"
| "resource-limit";
message: string;
}interface DocumentValidationError {
path: string;
code:
| "unsupported-schema"
| "invalid-value"
| "duplicate-id"
| "missing-reference"
| "out-of-bounds"
| "overlapping-merge"
| "non-serializable"
| "resource-limit";
message: string;
}interface DocumentValidationError {
path: string;
code:
| "unsupported-schema"
| "invalid-value"
| "duplicate-id"
| "missing-reference"
| "out-of-bounds"
| "overlapping-merge"
| "non-serializable"
| "resource-limit";
message: string;
}Path-qualified validation failure for a document operation.API reference →[]);code
code: "invalid-snapshot";errors
errors: readonly DocumentValidationErrorinterface DocumentValidationError {
path: string;
code:
| "unsupported-schema"
| "invalid-value"
| "duplicate-id"
| "missing-reference"
| "out-of-bounds"
| "overlapping-merge"
| "non-serializable"
| "resource-limit";
message: string;
}interface DocumentValidationError {
path: string;
code:
| "unsupported-schema"
| "invalid-value"
| "duplicate-id"
| "missing-reference"
| "out-of-bounds"
| "overlapping-merge"
| "non-serializable"
| "resource-limit";
message: string;
}interface DocumentValidationError {
path: string;
code:
| "unsupported-schema"
| "invalid-value"
| "duplicate-id"
| "missing-reference"
| "out-of-bounds"
| "overlapping-merge"
| "non-serializable"
| "resource-limit";
message: string;
}Path-qualified validation failure for a document operation.API reference →[]Declaration
View full TypeScript declaration
class SnapshotValidationError extends Error { constructor(errors: readonly DocumentValidationErrorinterface DocumentValidationError {
path: string;
code:
| "unsupported-schema"
| "invalid-value"
| "duplicate-id"
| "missing-reference"
| "out-of-bounds"
| "overlapping-merge"
| "non-serializable"
| "resource-limit";
message: string;
}interface DocumentValidationError {
path: string;
code:
| "unsupported-schema"
| "invalid-value"
| "duplicate-id"
| "missing-reference"
| "out-of-bounds"
| "overlapping-merge"
| "non-serializable"
| "resource-limit";
message: string;
}interface DocumentValidationError {
path: string;
code:
| "unsupported-schema"
| "invalid-value"
| "duplicate-id"
| "missing-reference"
| "out-of-bounds"
| "overlapping-merge"
| "non-serializable"
| "resource-limit";
message: string;
}Path-qualified validation failure for a document operation.API reference →[]); code: "invalid-snapshot"; errors: readonly DocumentValidationErrorinterface DocumentValidationError {
path: string;
code:
| "unsupported-schema"
| "invalid-value"
| "duplicate-id"
| "missing-reference"
| "out-of-bounds"
| "overlapping-merge"
| "non-serializable"
| "resource-limit";
message: string;
}interface DocumentValidationError {
path: string;
code:
| "unsupported-schema"
| "invalid-value"
| "duplicate-id"
| "missing-reference"
| "out-of-bounds"
| "overlapping-merge"
| "non-serializable"
| "resource-limit";
message: string;
}interface DocumentValidationError {
path: string;
code:
| "unsupported-schema"
| "invalid-value"
| "duplicate-id"
| "missing-reference"
| "out-of-bounds"
| "overlapping-merge"
| "non-serializable"
| "resource-limit";
message: string;
}Path-qualified validation failure for a document operation.API reference →[];}