13#include <evmc/evmc.hpp>
15 #define interface __STRUCT__
22 enum class Kind : std::uint8_t
45struct std::formatter<
dcn::chain::ExecuteError::Kind> : std::formatter<std::string>
52 return formatter<string>::format(
"Invalid config", ctx);
54 return formatter<string>::format(
"Invalid input", ctx);
56 return formatter<string>::format(
"RPC error", ctx);
58 return formatter<string>::format(
"Malformed RPC response", ctx);
60 return formatter<string>::format(
"Signing error", ctx);
62 return formatter<string>::format(
"Transaction reverted", ctx);
64 return formatter<string>::format(
"Timeout", ctx);
66 return formatter<string>::format(
"Unknown", ctx);
Definition address.hpp:17
Definition decentralised_art.hpp:33
Definition execute.hpp:21
std::vector< std::uint8_t > result_bytes
Definition execute.hpp:35
Kind
Definition execute.hpp:23
enum dcn::chain::ExecuteError::Kind kind
std::string message
Definition execute.hpp:34
Definition execute.hpp:39