404

[ Avaa Bypassed ]




Upload:

Command:

botdev@3.147.2.230: ~ $
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.IPCError = exports.CommandNotFoundError = exports.InputValidationError = exports.BaseError = exports.ERROR_IPC_UNKNOWN_PROCEDURE = exports.ERROR_IPC_MODULE_INACCESSIBLE = exports.ERROR_COMMAND_NOT_FOUND = exports.ERROR_INPUT_VALIDATION = void 0;
const lodash = require("lodash");
const util = require("util");
exports.ERROR_INPUT_VALIDATION = 'ERR_ICF_INPUT_VALIDATION';
exports.ERROR_COMMAND_NOT_FOUND = 'ERR_ICF_COMMAND_NOT_FOUND';
exports.ERROR_IPC_MODULE_INACCESSIBLE = 'ERR_ICF_IPC_MODULE_INACCESSIBLE';
exports.ERROR_IPC_UNKNOWN_PROCEDURE = 'ERR_ICF_IPC_UNKNOWN_PROCEDURE';
class BaseError extends Error {
    constructor(message) {
        super(message);
        this.message = message;
        this.stack = (new Error()).stack || '';
    }
    toString() {
        const repr = lodash.pick(this, lodash.pull(lodash.keys(this), 'error'));
        return (`${this.name}: ${this.message} ${util.inspect(repr, { breakLength: Infinity })} ${this.stack} ` +
            `${this.error ? `\nWrapped: ${this.error.stack ? this.error.stack : this.error}` : ''}`);
    }
    inspect() {
        return this.toString();
    }
}
exports.BaseError = BaseError;
class InputValidationError extends BaseError {
    constructor(message, errors) {
        super(message);
        this.errors = errors;
        this.name = 'InputValidationError';
        this.code = exports.ERROR_INPUT_VALIDATION;
    }
}
exports.InputValidationError = InputValidationError;
class CommandNotFoundError extends BaseError {
    constructor(message, args) {
        super(message);
        this.args = args;
        this.name = 'CommandNotFoundError';
        this.code = exports.ERROR_COMMAND_NOT_FOUND;
    }
}
exports.CommandNotFoundError = CommandNotFoundError;
class IPCError extends BaseError {
    constructor() {
        super(...arguments);
        this.name = 'IPCError';
    }
}
exports.IPCError = IPCError;

Filemanager

Name Type Size Permission Actions
lib Folder 0755
utils Folder 0755
CHANGELOG.md File 16.81 KB 0644
LICENSE File 1.05 KB 0644
README.md File 1014 B 0644
definitions.d.ts File 6.95 KB 0644
definitions.js File 77 B 0644
errors.d.ts File 1.12 KB 0644
errors.js File 1.93 KB 0644
guards.d.ts File 1.01 KB 0644
guards.js File 1.28 KB 0644
index.d.ts File 80 B 0644
index.js File 269 B 0644
package.json File 5.78 KB 0644