code: func (base *Base) setDriverName(e error) error {
  	switch actual := e.(type) {
  	case nil:
  		return nil
  	case storagedriver.ErrUnsupportedMethod:
  		actual.DriverName = base.StorageDriver.Name()
  		return actual
  	case storagedriver.PathNotFoundError:
  		actual.DriverName = base.StorageDriver.Name()
  		return actual
  	case storagedriver.InvalidPathError:
  		actual.DriverName = base.StorageDriver.Name()
  		return actual
  	case storagedriver.InvalidOffsetError:
  		actual.DriverName = base.StorageDriver.Name()
  		return actual
  	default:
  		storageError := storagedriver.Error{
  			DriverName: base.StorageDriver.Name(),
  			Enclosed:   e,
  		}
  
  		return storageError
  	}
  }
docs: // Format errors received from the storage driver