Home Manual Reference Source Test Repository

src/Error/UnimplementedMethodError.js

/*
 * This file is part of the serializerjs package.
 *
 * (c) HAIRCVT <tfidry@haircvt.com>
 *
 * For the full copyright and license information, please view the LICENSE
 * file that was distributed with this source code.
 */

import SerializerError from './SerializerError';

/**
 * @author Théo FIDRY <theo.fidry@gmail.com>
 */
export default class UnimplementedSerializerMethodError extends SerializerError {
    /**
     * @param {string} [message='']
     */
    constructor(message = '') {
        super(message);

        this.name = 'UnimplementedMethodError';
    }
}