ability to get error by code