开发者

What numeric range the mysql error codes lie in?

I would be creating a custom error handling routing for my webapp in codeignite开发者_JAVA技巧r and I would be using custom error codes for that. What is the numeric range of error codes generated by mysql, so that I keep my custom error codes out of that range?


It looks like MySQL uses 1000-1999 for server errors and 2000+ for client errors.


Client error numbers max out at 2999, so something 5000 and up should be safe.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜