Skip to content

SaveConflictError

Throw from onSave when the stored file changed since it was opened. The editor keeps the user’s changes and offers to download them as a copy. Without a message of the host’s own, the editor explains it in its language.

  • Error
new SaveConflictError(message?): SaveConflictError;
Parameter Type Default value
message string SAVE_CONFLICT

SaveConflictError

Error.constructor