withException method

ExceptionAndStackTrace withException(
  1. Exception exception
)

Implementation

ExceptionAndStackTrace withException(Exception exception) =>
    ExceptionAndStackTrace(exception, stackTrace);