Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ErrorSpec ¶
type ErrorSpec struct { Code string `toml:"code" json:"code"` Error string `toml:"error" json:"error"` Description string `toml:"description" json:"description"` Tags []string `toml:"tags" json:"tags"` Workaround string `toml:"workaround" json:"workaround"` // Used for indexes ExtraCode string `toml:"extracode" json:"extracode"` ExtraError string `toml:"extraerror" json:"extraerror"` }
ErrorSpec represents the standard error specification introduced by https://github.com/pingcap/tidb/blob/master/docs/design/2020-05-08-standardize-error-codes-and-messages.md
Click to show internal directories.
Click to hide internal directories.