UNPKG

@pigalle/core.errors.notimplemented

Version:
34 lines (29 loc) 689 B
/** * This file is part of pigalle.core.errors.notimplemented * * Copyright (c) 2018 SAS 9 Février. * * Distributed under the MIT License (license terms are at http://opensource.org/licenses/MIT). * */ const {PigalleBaseError} = require('@pigalle/core.base.error'); /** * An error class to throw when a method is not implemented. * * @class * @public */ class NotImplementedError extends PigalleBaseError { /** * Create a new instance of {NotImplementedError}. * * @param args - The arguments. * @constructor * @public */ constructor(...args) { super(...args); } } module.exports = {}; module.exports.NotImplementedError = NotImplementedError;