Overview
KB
Technical FAQ
PHP Manual
CSS2 Manual
HTML Manual
JS Guide
JS Reference
PhpDock Manual
Nu-Coder Manual
PhpExpress Manual
PHP Joomla
Development
Learn PHP
 
<V8Js::registerExtensionV8JsException::getJsFileName>
^V8jsLast updated: Mon, 26 Oct 2026

The V8JsException class

(PECL v8js >= 0.1.0)

Introduction

Class synopsis

class V8JsException extends Exception {
/* Properties */
protected $JsFileName;
protected $JsLineNumber;
protected $JsSourceLine;
protected $JsTrace;
/* Inherited properties */
protected string $message = "";
private string $string = "";
protected int $code;
protected string $file = "";
protected int $line;
private array $trace = [];
private ?Throwable $previous = null;
/* Methods */
final public function getJsFileName(): string
final public function getJsLineNumber(): int
final public function getJsSourceLine(): string
final public function getJsTrace(): string
/* Inherited methods */
final public function Exception::getMessage(): string
final public function Exception::getPrevious(): ?Throwable
final public function Exception::getCode(): int
final public function Exception::getFile(): string
final public function Exception::getLine(): int
final public function Exception::getTrace(): array
final public function Exception::getTraceAsString(): string
public function Exception::__toString(): string
private function Exception::__clone(): void
}

Properties

JsFileName

JsLineNumber

JsSourceLine

JsTrace

Table of Contents


<V8Js::registerExtensionV8JsException::getJsFileName>
^V8jsLast updated: Mon, 26 Oct 2026