boolean isTechnicalFailure()

TODO: this is just a generated example

javadoc usage tests

Added in version 10.3.0

Returns true for technical failure

TechnicalFailure<Happy, Sad> technicalFailure = TechnicalFailure.technicalFailure(new Exception());

assertThat(technicalFailure.isTechnicalFailure()).isTrue();

Returns false for non technical failure

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

assertThat(happyPath.isTechnicalFailure()).isFalse();