Classes to differentiate between different status messages?
I've been looking around in core a bit and found a solution from the classy theme. Copying its status-messages.html.twig file to my theme solves the problem since the type classes for each message are being set there.

{{ attach_library('classy/messages') }}
{% block messages %}
{% for type, messages in message_list %}
    {%
    set classes = [
    'messages',
    'messages--' ~ type,
    ]
    %}


I think this logic in views is a bit weird.