Throw errors if either arg is wrong