add support for new error in the CLI.