MCPcopy Create free account
hub / github.com/dropbox/godropbox / ErrorCode

Method ErrorCode

database/binlog/query_event.go:119–121  ·  view source on GitHub ↗

ErrorCode returns the error code resulting from executing the query. See https://dev.mysql.com/doc/refman/5.5/en/error-messages-server.html for additional details.

()

Source from the content-addressed store, hash-verified

117// See https://dev.mysql.com/doc/refman/5.5/en/error-messages-server.html
118// for additional details.
119func (e *QueryEvent) ErrorCode() mysql_proto.ErrorCode_Type {
120 return e.errorCode
121}
122
123// StatusBytes returns the uninterpreted status block as bytes.
124func (e *QueryEvent) StatusBytes() []byte {

Callers 3

TestDurationErrorCodeMethod · 0.80
Test55QueryMethod · 0.80
Test56QueryMethod · 0.80

Calls

no outgoing calls

Tested by 3

TestDurationErrorCodeMethod · 0.64
Test55QueryMethod · 0.64
Test56QueryMethod · 0.64