addExceptionCauseExtractor method

void addExceptionCauseExtractor(
  1. ExceptionCauseExtractor extractor
)

Adds ExceptionCauseExtractor in order to extract inner exceptions

Implementation

void addExceptionCauseExtractor(ExceptionCauseExtractor extractor) {
  _causeExtractorsByType[extractor.exceptionType] = extractor;
}