If you’re spreadsheet is meant to be looked at by other people, you should just about nest everything in an IFERROR([formula],). The nothing after the comma means that in the case that your formula throws an error (#VALUE, #N/A, #REF!, et cetera), nothing shows up in the cell. No distracting error text.
Now, this doesn’t mean you shouldn’t debug your formulas first, but if there are normal cases where they might throw some of these errors, IFERROR() is invaluable. (e.g. I have a dynamically updating query list and I know that sometimes the query will return nothing).