Is it possible to read History Base errors in mql4?

 

hi , I wanted to know if it is possible to get History Base : X errors in pair "abcXYZ" 

I think metatrader checks history while rendering chart and generate error in a seperate process than EAs.

its not some error code that can be accessed via GetLastError() in mql?

I want to know if metatrader has such error - regenerate the history to solve the possible occured issues.

if reading this error being not possible I should add some checks while creating the history itself.