This type is very similar to GhcException, but it omits the constructors that involve pretty-printing via SDoc. Due to the implementation of fromException for GhcException, this type can be caught as a GhcException.
Note that this should only be used for throwing exceptions, not for catching, as GhcException will not be converted to this type when catching.
Constructors
PlainSignal IntSome other fatal signal (SIGHUP,SIGTERM)
PlainUsageError StringPrints the short usage msg after the error
PlainCmdLineError StringA problem with the command line arguments, but don't print usage.
PlainPanic StringThe
impossiblehappened.PlainSorry StringThe user tickled something that's known not to work yet, but we're not counting it as a bug.
PlainInstallationError StringAn installation problem.
PlainProgramError StringAn error in the user's code, probably.
Instances2Show, Exception
Show PlainGhcExceptionDefined in ghc-9.10.3 · GHC.Utils.Panic.PlainException PlainGhcExceptionDefined in ghc-9.10.3 · GHC.Utils.Panic.Plain