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/note.picotech.app/public_html/node_modules/@elevenlabs/elevenlabs-js/errors/ drwxr-xr-x | |
| Viewing file: Select action/file-type: "use strict";
/**
* This file was auto-generated by Fern from our API Definition.
*/
Object.defineProperty(exports, "__esModule", { value: true });
exports.ElevenLabsError = void 0;
const json_1 = require("../core/json");
class ElevenLabsError extends Error {
constructor({ message, statusCode, body, rawResponse, }) {
super(buildMessage({ message, statusCode, body }));
Object.setPrototypeOf(this, ElevenLabsError.prototype);
this.statusCode = statusCode;
this.body = body;
this.rawResponse = rawResponse;
}
}
exports.ElevenLabsError = ElevenLabsError;
function buildMessage({ message, statusCode, body, }) {
let lines = [];
if (message != null) {
lines.push(message);
}
if (statusCode != null) {
lines.push(`Status code: ${statusCode.toString()}`);
}
if (body != null) {
lines.push(`Body: ${(0, json_1.toJson)(body, undefined, 2)}`);
}
return lines.join("\n");
}
|
:: Command execute :: | |
--[ c99shell v. 2.5 [PHP 8 Update] [24.05.2025] | Generation time: 0.0037 ]-- |