public static ErrorInformation createFrom(final Throwable e) { if (e == null) { return null; } return new ErrorInformation( ExceptionHelper.getMessage(e), ExceptionHelper.formatted(e), ExceptionHelper.formatted(ExceptionHelper.getRootCause(e))); }