package core

import "errors"

// ServiceNameDatastore is a service name for data storage implementation.
const ServiceNameDatastore = "datastore"

var (
	// ErrDatastore indicates that error appeared somewhere in data storage service.
	ErrDatastore = errors.New("datastore")
	// ErrDatastoreServiceIsInvalid appears when data storage implementation isn't conforming to interface.
	ErrDatastoreServiceIsInvalid = errors.New("invalid datastore implementation")
)

// DataStore is an interface for data storage implementations.
type DataStore interface{}
