We should slightly improve the error message to be more helpful, perhaps something like  'Invalid priodity, only "low", "medium", "high" or "now" are allowed'