UNPKG

sgnm-neo4j-excel

Version:
11 lines (10 loc) 296 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.failedResponse = failedResponse; function failedResponse(error) { const responseObject = { message: `failed due to ${error}`, status: 400, }; return JSON.stringify(responseObject); }