@configurator/ravendb
Version:
RavenDB client for Node.js
12 lines • 595 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.PutAttachmentCommandHelper = void 0;
const Exceptions_1 = require("../../../Exceptions");
class PutAttachmentCommandHelper {
static throwStreamWasAlreadyUsed() {
(0, Exceptions_1.throwError)("InvalidOperationException", "It is forbidden to re-use the same InputStream for more than one attachment. "
+ "Use a unique InputStream per put attachment command.");
}
}
exports.PutAttachmentCommandHelper = PutAttachmentCommandHelper;
//# sourceMappingURL=PutAttachmentCommandHelper.js.map