Skip to content

ThreadCrashInfo ​

final class · pocketmine\thread\ThreadCrashInfo · source

Extends pmmp\thread\ThreadSafe

Methods ​

__construct() ​

php
public function __construct(string $type, string $message, string $file, int $line, array $trace, string $threadName)

fromLastErrorInfo() ​

php
public static function fromLastErrorInfo(array $info, string $threadName) : self

fromThrowable() ​

php
public static function fromThrowable(\Throwable $e, string $threadName) : self

getFile() ​

php
public function getFile() : string

getLine() ​

php
public function getLine() : int

getMessage() ​

php
public function getMessage() : string

getThreadName() ​

php
public function getThreadName() : string

getTrace() ​

php
public function getTrace() : array

getType() ​

php
public function getType() : string

makePrettyMessage() ​

php
public function makePrettyMessage() : string

VanillaMine is a fork of PocketMine-MP, maintained by Luxury Nodes. Not affiliated with the PMMP team or Mojang.