small refactor
customized error messages