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.
Extends
Section titled “Extends”Error
Constructors
Section titled “Constructors”Constructor
Section titled “Constructor”new SaveConflictError(message?): SaveConflictError;Parameters
Section titled “Parameters”| Parameter | Type | Default value |
|---|---|---|
message |
string |
SAVE_CONFLICT |
Returns
Section titled “Returns”SaveConflictError
Overrides
Section titled “Overrides”Error.constructor