import { notification } from '@whalecloud/fdx';

var showError = function showError(errors) {
  var error = errors;

  if (Array.isArray(errors)) {
    error = errors.join('/n');
  }

  notification.error({
    message: "error!",
    description: error
  });
};

export default showError;
//# sourceMappingURL=error.js.map