If you want a generic message for all errors, you can set the message prop instead of specifying the errorMap
message
errorMap
z.nativeEnum(Gender, {message: 'custom message for all errors'});