Don't panic, return errors instead