code: func (err Error) Label() string {
  	scope := gorm.Scope{Value: err.Resource}
  	return fmt.Sprintf("%v_%v_%v", scope.GetModelStruct().ModelType.Name(), scope.PrimaryKeyValue(), err.Column)
  }
docs: // Label is a label including model type, primary key and column name