Added Error unit of work