mdoc
package mdoc
Members list
Type members
Classlikes
object Main extends MainProcess
Attributes
- Supertypes
- Self type
-
Main.type
trait MainProcess
Attributes
- Companion
- object
- Supertypes
-
class Objecttrait Matchableclass Any
object MainSettings
Attributes
- Companion
- class
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
MainSettings.type
object SbtMain extends MainProcess
This main is meant to be called from a running JVM. Rather than exiting with a non-zero code on error, it will throw an exception. This is useful when calling from another JVM and you don't want this JVM to exit and mdoc fails.
This main is meant to be called from a running JVM. Rather than exiting with a non-zero code on error, it will throw an exception. This is useful when calling from another JVM and you don't want this JVM to exit and mdoc fails.
This is the case for the sbt integration. When an exception is raised, sbt will make the task as failed but won't exit. This provides a better user experience.
Attributes
- Supertypes
- Self type
-
SbtMain.type
In this article