code: func SetError(impl config.Interface, err error) {
  	impl.(*memoryImpl).err = err
  }
docs: // SetError artificially pins the error code returned by impl to err. If err is
  // nil, impl will behave normally.
  //
  // impl must be a memory config isntance created with New, else SetError will
  // panic.