Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
FP and TP feedback: raise CmdException iff need user and is no user
Previously we were: A) In FP: raising a TypeError if there was no user URL found, even if we didn't need the URL/user. B) Not raising a CmdException in cases where the command required the user, but we weren't able to get the user. C) Considerable repetition of strings/string construction.
- Loading branch information
Showing
1 changed file
with
19 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters