WpOrg\Requests

Exception::getTypepublicWP 1.0

Like {@see \Exception::getCode()}, but a string code.

Method of the class: Exception{}

No Hooks.

Returns

String.

Usage

$Exception = new Exception();
$Exception->getType();

Exception::getType() code WP 6.8.3

public function getType() {
	return $this->type;
}