I would like to know if there are examples of require() error strings being thrown in Yul. I’m experimenting with Yul, and trying to recreate errors I have in another smart contract. From the documentation for Yul on docs.soliditylang.org, the examples don’t seem to actually include revert reasons from how I read it.
Nvm, I figured it out from looking at the soliditylang blog post on custom errors. They provide an example of reverting a string with Error(string) selector, which is the same as using Solidity’s require statement.