mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Use all referenced errors.
This commit is contained in:
@@ -515,7 +515,8 @@ public:
|
||||
std::vector<EventDefinition const*> const& interfaceEvents() const;
|
||||
/// @returns all errors defined in this contract or any base contract
|
||||
/// and all errors referenced during execution.
|
||||
std::vector<ErrorDefinition const*> interfaceErrors() const;
|
||||
/// @param _requireCallGraph if false, do not fail if the call graph has not been computed yet.
|
||||
std::vector<ErrorDefinition const*> interfaceErrors(bool _requireCallGraph = true) const;
|
||||
bool isInterface() const { return m_contractKind == ContractKind::Interface; }
|
||||
bool isLibrary() const { return m_contractKind == ContractKind::Library; }
|
||||
|
||||
|
||||
Reference in New Issue
Block a user