/* COPYRIGHT Esri - https://js.arcgis.com/5.0/LICENSE.txt */
const r={UndoRedoUpdating:"Cannot perform operation whilst undo redo is updating",UndoInvalidError:"There are no items to Undo",RedoInvalidError:"There are no items to Redo",ApplyInvalidError:"Cannot apply an item that is already applied"};class o extends Error{constructor(){super(r.UndoRedoUpdating),this.type="undo-redo-updating-error"}}class e extends Error{constructor(){super(r.UndoInvalidError),this.type="undo-redo-undo-error"}}class d extends Error{constructor(){super(r.RedoInvalidError),this.type="undo-redo-redo-error"}}class n extends Error{constructor(){super(r.ApplyInvalidError),this.type="undo-redo-apply-error"}}export{n as ApplyInvalidError,d as RedoInvalidError,e as UndoInvalidError,r as UndoRedoErrorMessages,o as UndoRedoUpdatingError};
