view client/src/lib/errors.js @ 515:ef7f56d326ae

fix: gemma configuration added to .hgignore In order to prevent accidentally committing gemma.toml it was added to .hgignore
author Thomas Junk <thomas.junk@intevation.de>
date Mon, 27 Aug 2018 11:56:43 +0200
parents 27502291e564
children
line wrap: on
line source

/** facade to wrap calls to vue2-toastr */
import app from "../main";

const displayError = ({ title, message }) => {
  app.$toast.error({
    title: title,
    message: message
  });
};

export { displayError };