view client/src/application/lib/errors.js @ 682:b17e3ce53285 octree

octree: simplified cube indexing.
author Sascha L. Teichmann <sascha.teichmann@intevation.de>
date Wed, 19 Sep 2018 20:55:02 +0200
parents ef307bd6b5d8
children ca628dce90dd
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 };