This also gives the server-side the chance to add more different error messages / additional behavior without having to change the frontend. Refs #18.