开发者

What numeric range the mysql error codes lie in?

开发者 https://www.devze.com 2023-03-11 05:33 出处:网络
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

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

精彩评论

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