Is there a way to pass in a variable or attribute when using abort_message() function?
I've checked the documentation but I can't see a way to do it.
I've tested variations and can only get plain text to work.
// this works
abort_message('my abort reason')
// this doesn't work
{% assign abort_reason = 'reason1' %}
abort_message({{reason1}})
abort_message('{{reason1}}')