tryAndRethrow<T> static method

T tryAndRethrow<T>(
  1. T function()
)

Implementation

static T tryAndRethrow<T>(T Function() function) => LoggerResult.tryAndRethrow(function, FormatterErrorA.new);