Add missing argument validators

This commit add the missing arguments validators and maps error codes to severity (solves a TODO: Make configurable).