Software: Apache. PHP/8.1.30 uname -a: Linux server1.tuhinhossain.com 5.15.0-163-generic #173-Ubuntu SMP Tue Oct 14 17:51:00 UTC uid=1002(picotech) gid=1003(picotech) groups=1003(picotech),0(root) Safe-mode: OFF (not secure) /home/picotech/domains/rentals.picotech.app/public_html/node_modules/@humanfs/core/src/ drwxr-xr-x | |
| Viewing file: Select action/file-type: /**
* @fileoverview Common error classes
* @author Nicholas C. Zakas
*/
/**
* Error thrown when a file or directory is not found.
*/
export class NotFoundError extends Error {
/**
* Name of the error class.
* @type {string}
*/
name = "NotFoundError";
/**
* Error code.
* @type {string}
*/
code = "ENOENT";
/**
* Creates a new instance.
* @param {string} message The error message.
*/
constructor(message) {
super(`ENOENT: No such file or directory, ${message}`);
}
}
/**
* Error thrown when an operation is not permitted.
*/
export class PermissionError extends Error {
/**
* Name of the error class.
* @type {string}
*/
name = "PermissionError";
/**
* Error code.
* @type {string}
*/
code = "EPERM";
/**
* Creates a new instance.
* @param {string} message The error message.
*/
constructor(message) {
super(`EPERM: Operation not permitted, ${message}`);
}
}
/**
* Error thrown when an operation is not allowed on a directory.
*/
export class DirectoryError extends Error {
/**
* Name of the error class.
* @type {string}
*/
name = "DirectoryError";
/**
* Error code.
* @type {string}
*/
code = "EISDIR";
/**
* Creates a new instance.
* @param {string} message The error message.
*/
constructor(message) {
super(`EISDIR: Illegal operation on a directory, ${message}`);
}
}
/**
* Error thrown when a directory is not empty.
*/
export class NotEmptyError extends Error {
/**
* Name of the error class.
* @type {string}
*/
name = "NotEmptyError";
/**
* Error code.
* @type {string}
*/
code = "ENOTEMPTY";
/**
* Creates a new instance.
* @param {string} message The error message.
*/
constructor(message) {
super(`ENOTEMPTY: Directory not empty, ${message}`);
}
}
|
:: Command execute :: | |
--[ c99shell v. 2.5 [PHP 8 Update] [24.05.2025] | Generation time: 0.0078 ]-- |