Add error code, error message and error severity