Print error message based on Error interface