Better CLI factory error exception message

Now when CLI factory finds an error it outputs the error message to avoid needing to check the log and the exception raised.

Also adds a specific exception for CLI factory CLIFactoryError which is
raised when any entity could not be created via CLI.
Just for clarity could you update the docstring to include information about the arguments ( ie. ``:param str msg : Blah``)?