Input specification has problems.
Error message msg directed both to standard output stream and to outfile.
msg (str) – Human readable string describing the exception.
str
Human readable string describing the exception.
ValidationError
ValidationError.message