Document CliError API, closes #4.