   try
     Promise.resolve(callback())
   catch error
-    Promise.reject(error)+    Promise.reject(error)

    Promise.all(
      @getItems()
        .filter((item) => item isnt @activeItem)
        .map(@destroyItem.bind(this))
    )

  promptToSaveItem: (item, options={}) ->

  # Public: Destroy all items.
  destroyItems: ->
    Promise.all(
      @getItems().map((item) => @destroyItem(item))
    )

  # Public: Destroy all items except for the active item.
