@thiagohersan @LeoColomb 
the problem is that change for bool to int inverts the logic here - if we return an int then errors will be non zero.
if we return a bool then errors will be zero / false. 

- would love solution that is backwards compatible but allows for error checking.