Quick pass at better error handling for ngBoba -- needs more help