"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.createExtError = createExtError;
exports.getExtErrorProps = getExtErrorProps;
const ExtErrorProp = Symbol(`Verda::ExtError::PropertySingle`);
function createExtError(err, ext) {
    return Object.assign(err, { [ExtErrorProp]: ext });
}
function getExtErrorProps(err) {
    if (!err)
        return undefined;
    return err[ExtErrorProp];
}
