HappyPath<Happy, Sad> technicalFailure(Exception)

TODO: this is just a generated example

javadoc usage tests

Added in version 2.3.0

Technical failure case happy path

Exception technicalFailure = new Exception();

HappyPath<Happy, Sad> happyPath = HappyPath.technicalFailure(technicalFailure);

assertThat(happyPath.getTechnicalFailure()).isEqualTo(technicalFailure);

This produces a happy path biased view of an underlying technical failure case.