You can only throw an exception in Solidity, there's no message and no catch block

picture loading error handler
67 thought(s)67

Ethereum Developer Masterclass

Key takeaways from Udemy's course 'Ethereum Developer Masterclass: Build Real World Projects'.
Ethereum
Blockchain
Solidity
Truffle
Development
Get