Yes
```
function throwErr() public {
require(err = true, "0");
}
```
if not true, 0 will be displayed as the error message.