constructor()

in src/errors/InvalidResourceError.ts [10:16]


    constructor(message = 'Invalid Resource') {
        // Node Error class requires passing a string message to the parent class
        super(message);
        Object.setPrototypeOf(this, InvalidResourceError.prototype);
        this.isInvalidResourceError = true;
        this.name = this.constructor.name;
    }