Streamline how we are handling the printing of error types.