Created
October 20, 2022 04:15
-
-
Save DavidPiper94/ca319fe6f856ff04d2de5fc9e011e9ed to your computer and use it in GitHub Desktop.
Example code for article about ArgumentParser - RuntimeError
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
struct RuntimeError: Error, CustomStringConvertible { | |
var description: String | |
init(_ description: String) { | |
self.description = description | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment