statamic / docs

Statamic Documentation
https://statamic.dev
Other
110 stars 374 forks source link

Add example of how to access error by variable #1359

Closed Neophen closed 3 months ago

Neophen commented 4 months ago

I was looking for this information for a while until i figured it out by just trying different things. I though that it wouldn't hurt to have this information in the docs

duncanmcclean commented 3 months ago

Thanks for this pull request!

However, like @marcorieser mentioned, this is just a "normal" feature of Antlers, nothing special to errors, so I don't think we necessarily need to mention it here.