@dolittle/sdk.artifacts
Version:
Dolittle is a decentralized, distributed, event-driven microservice platform built to harness the power of events.
19 lines • 1.23 kB
JavaScript
;
// Copyright (c) Dolittle. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
Object.defineProperty(exports, "__esModule", { value: true });
exports.GenerationMustBePositiveInteger = void 0;
const rudiments_1 = require("@dolittle/rudiments");
/**
* Exception that gets thrown when {@link Generation} is not a natural number.
*/
class GenerationMustBePositiveInteger extends rudiments_1.Exception {
/**
* Initialises a new instance of the {@link GenerationMustBePositiveInteger} class.
*/
constructor() {
super('The generation of an artifact must be a positive integer');
}
}
exports.GenerationMustBePositiveInteger = GenerationMustBePositiveInteger;
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiR2VuZXJhdGlvbk11c3RCZVBvc2l0aXZlSW50ZWdlci5qcyIsInNvdXJjZVJvb3QiOiIuLi8iLCJzb3VyY2VzIjpbIkdlbmVyYXRpb25NdXN0QmVQb3NpdGl2ZUludGVnZXIudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IjtBQUFBLCtDQUErQztBQUMvQyxxR0FBcUc7OztBQUVyRyxtREFBZ0Q7QUFFaEQ7O0dBRUc7QUFDSCxNQUFhLCtCQUFnQyxTQUFRLHFCQUFTO0lBQzFEOztPQUVHO0lBQ0g7UUFDSSxLQUFLLENBQUMsMERBQTBELENBQUMsQ0FBQztJQUN0RSxDQUFDO0NBQ0o7QUFQRCwwRUFPQyJ9