mostSpecificCause property

Object get mostSpecificCause

rootCause, or this exception when it has no cause. Spring: getMostSpecificCause().

Implementation

Object get mostSpecificCause => rootCause ?? this;