@@ -53,31 +53,14 @@ DEV_SIMPLE_EXCEPTION_RLP(OversizeRLP);
53
53
DEV_SIMPLE_EXCEPTION_RLP (UndersizeRLP);
54
54
55
55
DEV_SIMPLE_EXCEPTION (BadHexCharacter);
56
- DEV_SIMPLE_EXCEPTION (NoNetworking);
57
- DEV_SIMPLE_EXCEPTION (NoUPnPDevice);
58
- DEV_SIMPLE_EXCEPTION (RootNotFound);
59
- struct BadRoot : virtual Exception { public: BadRoot(h256 const & _root): Exception(" BadRoot " + _root.hex()), root(_root) {} h256 root; };
60
- DEV_SIMPLE_EXCEPTION (FileError);
61
- DEV_SIMPLE_EXCEPTION (Overflow);
62
- DEV_SIMPLE_EXCEPTION (FailedInvariant);
63
- DEV_SIMPLE_EXCEPTION (ValueTooLarge);
64
56
65
- struct InterfaceNotSupported : virtual Exception { public: InterfaceNotSupported(std::string _f): Exception(" Interface " + _f + " not supported." ) {} };
66
57
struct ExternalFunctionFailure : virtual Exception { public: ExternalFunctionFailure(std::string _f): Exception(" Function " + _f + " () failed." ) {} };
67
58
68
59
// error information to be added to exceptions
69
60
using errinfo_invalidSymbol = boost::error_info<struct tag_invalidSymbol , char >;
70
- using errinfo_wrongAddress = boost::error_info<struct tag_address , std::string>;
71
61
using errinfo_comment = boost::error_info<struct tag_comment , std::string>;
72
62
using errinfo_required = boost::error_info<struct tag_required , bigint>;
73
63
using errinfo_got = boost::error_info<struct tag_got , bigint>;
74
- using errinfo_min = boost::error_info<struct tag_min , bigint>;
75
- using errinfo_max = boost::error_info<struct tag_max , bigint>;
76
64
using RequirementError = boost::tuple<errinfo_required, errinfo_got>;
77
- using errinfo_hash256 = boost::error_info<struct tag_hash , h256>;
78
- using errinfo_required_h256 = boost::error_info<struct tag_required_h256 , h256>;
79
- using errinfo_got_h256 = boost::error_info<struct tag_get_h256 , h256>;
80
- using Hash256RequirementError = boost::tuple<errinfo_required_h256, errinfo_got_h256>;
81
- using errinfo_extraData = boost::error_info<struct tag_extraData , bytes>;
82
65
83
66
}
0 commit comments