(Internal) Return S4 object validation error messages
returnErrors
is an internal function for S4 object validation error messages.
returnErrors(errors)
errors
: a vector containing error messages.returnErrors
returns TRUE
if the input is empty. otherwise it returns the error messages as a pass-thru.