File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -1155,9 +1155,10 @@ review carefully in order to write solid applications.
1155
1155
Most errors created by this module are instances of the JavaScript [ Error] [ ]
1156
1156
object. Additionally they typically come with two extra properties:
1157
1157
1158
- * ` err.code ` : Either a [ MySQL server error] [ ] (e.g.
1159
- ` 'ER_ACCESS_DENIED_ERROR' ` ), a Node.js error (e.g. ` 'ECONNREFUSED' ` ) or an
1160
- internal error (e.g. ` 'PROTOCOL_CONNECTION_LOST' ` ).
1158
+ * ` err.code ` : String, contains the MySQL server error symbol if the error is
1159
+ a [ MySQL server error] [ ] (e.g. ` 'ER_ACCESS_DENIED_ERROR' ` ), a Node.js error
1160
+ code if it is a Node.js error (e.g. ` 'ECONNREFUSED' ` ), or an internal error
1161
+ code (e.g. ` 'PROTOCOL_CONNECTION_LOST' ` ).
1161
1162
* ` err.fatal ` : Boolean, indicating if this error is terminal to the connection
1162
1163
object. If the error is not from a MySQL protocol operation, this property
1163
1164
will not be defined.
You can’t perform that action at this time.
0 commit comments