Update error exception class