ExceptOnError
firrtl.options.ExceptOnError
trait ExceptOnError
OptionParser mixin that converts to OptionsException
Scopt, by default, will print errors to stderr, e.g., invalid arguments will do this. However, a Stage uses StageUtils.dramaticError. By converting this to an OptionsException, a Stage can then catch the error an convert it to an OptionsException that a Stage can get at.
Attributes
- Deprecated
-
[Since version Chisel 7.0.0]All APIs in package firrtl are deprecated. - Source
- OptionParser.scala
- Graph
-
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
OptionParser[_]
Members list
In this article