style(error helper): improve readability

@pavelgj thanks for merging the previous PR, here is the readability fix