Class FaultDSL


  • public class FaultDSL
    extends Object
    A simple DSL for fault conversion.
    Author:
    Fabio Simeoni
    • Constructor Detail

      • FaultDSL

        public FaultDSL()
    • Method Detail

      • again

        public static FaultDSL.AsClause again​(Throwable fault)
        Indicates a fault to be rethrown with a narrower type.
        Parameters:
        fault - the fault
        Returns:
        the next clause in the sentence