Issue #26 Min/max string length error message/code mixed up

Min/max string length errors would return an error where the
message was in the code and code was missing.