Better CLI factory error exception message

Also adds a specific exception for CLI factory CLIFactoryError which is
raised when any entity could not be created via CLI.