view client/src/application/lib/errors.js @ 893:5ea4c3f5d2a7

refinement of bottleneck selection
author Thomas Junk <thomas.junk@intevation.de>
date Tue, 02 Oct 2018 14:44:59 +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 };