Adding simple error handling with plan to be more specific in the future