view client/src/application/lib/errors.js @ 657:40d3b697ea15

Add PostgreSQL extension for 3D processing We already use it for cross section calculation (see cross.go).
author Tom Gottfried <tom@intevation.de>
date Fri, 14 Sep 2018 17:45:42 +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 };