configParserBuilder method

Future<ConfigParser?> configParserBuilder()

Kept for backwards compatibility with external callers.

Returns null instead of throwing when the configuration cannot be used.

Implementation

Future<ConfigParser?> configParserBuilder() async {
  try {
    return await _buildConfigParser();
  } on ConfigException catch (e) {
    logger.logError(e.message);
    return null;
  }
}