(feat) Adds basic error reporting