minted library
The core of the minted family: the vocabulary every other package speaks.
ParseOutcome is what a fallible door hands back, either the value or a typed MintedFailure naming
the check it failed. Nothing throws, bar getOrThrow, where a caller asserts a value is good instead
of branching on it.
The types themselves live in the sibling packages: minted_constraints for the primitives the rest
are cut from, then one per domain. Each brings this one along, so depend on the ones you use.
Classes
- MintedFailure
-
Why a
mintedvalue type refused its input. -
ParseFailure<
F extends MintedFailure, T> - A parse that failed, for the reason given.
-
ParseOutcome<
F extends MintedFailure, T> - The result of parsing text: either the value, or the MintedFailure saying why not.
-
ParseSuccess<
F extends MintedFailure, T> - A parse that produced value.
Exceptions / Errors
- MintedFormatError
- The error ParseOutcome.getOrThrow raises, carrying the typed failure and its rendered message.