[enh] Handle error message style from the cli