@mocanvas/store · interface
interface StoreErrorA record that failed validation, with enough context to say what was being done to it at the time.
Thrown rather than returned: a store that keeps going after writing an invalid record is a store whose next save produces a file nothing can load.
Properties · 5
error: ErrorisExistingValidationIssue: booleanphase: "initialize" | "createRecord" | "updateRecord" | "tests"recordAfter: unknownrecordBefore?: unknownmocanvas is built by Symbio. Free for non-commercial, non-profit and development use; commercial use needs an agreement. Not affiliated with or endorsed by tldraw.