"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.DdfCsvError = exports.DDF_ERROR = exports.CSV_PARSING_ERROR = exports.JSON_PARSING_ERROR = exports.FILE_READING_ERROR = void 0;
var tslib_1 = require("tslib");
exports.FILE_READING_ERROR = 'File reading error';
exports.JSON_PARSING_ERROR = 'JSON parsing error';
exports.CSV_PARSING_ERROR = 'CSV parsing error';
exports.DDF_ERROR = 'DDF error';
var DdfCsvError = (function (_super) {
    tslib_1.__extends(DdfCsvError, _super);
    function DdfCsvError(message, details, file) {
        var _this = _super.call(this) || this;
        _this.name = 'DdfCsvError';
        _this.message = "".concat(message, " [filepath: ").concat(file, "]. ").concat(details, ".");
        _this.details = details;
        _this.file = file;
        return _this;
    }
    return DdfCsvError;
}(Error));
exports.DdfCsvError = DdfCsvError;
//# sourceMappingURL=ddfcsv-error.js.map