import { VirgilError } from '../../VirgilError' ; /**
 * Error thrown by  IStorageAdapter . store method when saving a value
 * with a key that already exists in store.
  export class StorageEntryAlreadyExistsError extends VirgilError { constructor ( key ? ) { super ( `Storage entry ${ key ? 'with key ' + name : 'with the given key' }already exists` , 'StorageEntryAlreadyExistsError' , StorageEntryAlreadyExistsError ) ; } }