hyperledger/iroha
Iroha - A simple, decentralized ledger http://iroha.tech
assert_config Namespace Reference

Functions

std::string no_member_error (std::string const &member)
 
std::string type_error (std::string const &value, std::string const &type)
 
std::string parse_error (std::string const &path)
 
void fatal_error (std::string const &error)
 
void assert_fatal (bool condition, std::string const &error)
 

Detailed Description

Copyright Soramitsu Co., Ltd. All Rights Reserved. SPDX-License-Identifier: Apache-2.0

Function Documentation

void assert_config::assert_fatal ( bool  condition,
std::string const &  error 
)
inline

shuts down process if a given condition is false.

Parameters
condition
error- error message

Here is the call graph for this function:

Here is the caller graph for this function:

void assert_config::fatal_error ( std::string const &  error)
inline

shuts down process when some error occurs.

Parameters
error- error message

Here is the caller graph for this function:

std::string assert_config::no_member_error ( std::string const &  member)
inline

error message helpers that are used in json validation.

Here is the caller graph for this function:

std::string assert_config::parse_error ( std::string const &  path)
inline
std::string assert_config::type_error ( std::string const &  value,
std::string const &  type 
)
inline

Here is the caller graph for this function: