Skip to content

src/application/impl/config_reader/error.hpp

Namespaces

Name
sgns
sgns::application

Types

Name
enum class ConfigReaderError

Functions

Name
OUTCOME_HPP_DECLARE_ERROR_2(sgns::application , ConfigReaderError )

Types Documentation

enum ConfigReaderError

Enumerator Value Description
MISSING_ENTRY 1
PARSER_ERROR
NOT_YET_IMPLEMENTED

Codes for errors that originate in configuration readers

Functions Documentation

function OUTCOME_HPP_DECLARE_ERROR_2

OUTCOME_HPP_DECLARE_ERROR_2(
    sgns::application ,
    ConfigReaderError 
)

Source code

#ifndef SUPERGENIUS_APPLICATION_CONFIG_READER_ERROR_HPP
#define SUPERGENIUS_APPLICATION_CONFIG_READER_ERROR_HPP

#include "outcome/outcome.hpp"

namespace sgns::application {

  enum class ConfigReaderError {
    MISSING_ENTRY = 1,
    PARSER_ERROR,
    NOT_YET_IMPLEMENTED
  };

}

OUTCOME_HPP_DECLARE_ERROR_2(sgns::application, ConfigReaderError);

#endif  // SUPERGENIUS_APPLICATION_CONFIG_READER_ERROR_HPP

Updated on 2026-03-04 at 13:10:44 -0800