bail early on errors

Returning errors can feel warm and fuzzy, but it does no good if the caller doesn't actually check the return value.

Scenario: define a new function B call it when initializing global variable A everything works fine restart

Before this commit you get a weird error because we silently stopped loading, and now lots of functions are missing.

After this commit you get a better error message.

Created by  Kartik K. Agaram  on June 19, 2023
TZHMXEYNNFX7FH2J3JYUIX4AB4SKVI37727VRDVBPGZTU22CBKFQC
Change contents