• Luis Araujo's avatar
    Add the ProfileNotFound exception · 5033d22d
    Luis Araujo authored
    Add a module for exceptions and restructure the code to make it
    more convenient to use exceptions and write unit tests.
    - Add the ProfileNotFound exception. This makes the code clearer
      to catch this error from the submit command.
    - Now the command calls are simpler (omitting passing the parser).
    - Now the main method to start running the lqa sub-commands is called
      run() and the Cli() initialization only takes care of setting up
      the parser.
exceptions.py 1.05 KB