Settings commands + return errors in CommandHandler

Now I have ST2 installed (unregistered version). How to have infos on the behaviour of a command (in which cases it return errors for example). The unofficial command reference gives the name of the commands and their arguments but that is not enough.
In this case, how a non-boolean setting is toggled? Does it fails silently?