Added simple error parser