mirror of
https://github.com/storytold/effectcraft.git
synced 2026-10-23 04:02:49 -05:00
Docs: engine.execute reports a failed workspace save through workspaceStorageError (#696)
This commit is contained in:
1 parent
dbaf559b58
commit
ecf485e375
1 file changed
+5
-3
@@ -82,9 +82,11 @@ preserved for the entire session, including after later layout changes. Load and
|
||||
appear in the status message and the nullable
|
||||
`workspaceStorageError` field; a failed write remains eligible for retry.
|
||||
`window.saveWorkspace`, `window.saveWorkspaceAs` and `window.editWorkspaces` (rename, delete)
|
||||
write the file immediately and return an error when it isn't written (a failed write, a file
|
||||
preserved after a failed load, or no configuration store). The changed workspaces still apply
|
||||
for the session, and a later save retries them.
|
||||
write the file immediately. Through `ui.menu.invoke` they return an error when it isn't written
|
||||
(a failed write, a file preserved after a failed load, or no configuration store);
|
||||
`engine.execute` hands them to the UI and returns `{frontend}` first, so check
|
||||
`workspaceStorageError` there. The changed workspaces still apply for the session, and a later
|
||||
save retries them.
|
||||
|
||||
## Input
|
||||
|
||||
|
||||
Reference in new issue
Block a user