Sindbad~EG File Manager
let Error;_34b.x([["default",()=>_34b.o]]);_34b.w("mongoose",[["Error",["Error"],function(v){Error=v}]]);
class AppError extends Error {
constructor(message, statusCode) {
super(message);
this.message = message;
this.statusCode = statusCode;
this.status = `${statusCode}`.startsWith(4) ? "fail" : "error";
this.isOperational = true;
Error.captureStackTrace(this, this.constructor);
}
}
_34b.d(AppError);
Sindbad File Manager Version 1.0, Coded By Sindbad EG ~ The Terrorists