Pretty-print resource type with parsing error.