Err handling for invalid args