ExceptOnError

firrtl.options.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 Object
trait Matchable
class Any
Self type
OptionParser[_]

Members list

Value members

Concrete methods

override def reportError(msg: String): Unit

Attributes

Definition Classes
Source
OptionParser.scala