Create MSqlError class and add some new features.