forked from RackTables/racktables
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refine a few InvalidArgException translation cases
This change fixes the error message displayed to the user after an InvalidArgException exception (hard) is converted into an InvalidRequestArgException one (soft). InvalidArgException::__construct(): keep copies of arguments InvalidArgException::getName(): new read accessor InvalidArgException::getValue(): idem InvalidArgException::getReason(): idem convertToIRAE(): new function to convert between two classes assertIPArg(): update to use above assertIPv4Arg(): idem assertIPv6Arg(): idem
- Loading branch information
1 parent
bc6499d
commit 3be783f
Showing
2 changed files
with
38 additions
and
3 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
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