property
SQL.MySQLError.code
readonly code: string
Bun's error code, such as "ERR_MYSQL_SERVER_ERROR" or "ERR_MYSQL_CONNECTION_CLOSED". It is not a name like ER_DUP_ENTRY: compare errno for that.