WpOrg\Requests

Exception::getType()publicWP 1.0

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

Method of the class: Exception{}

No Hooks.

Return

String.

Usage

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

Exception::getType() code WP 6.6.2

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