WireException::setCode()

Replace previously set code

Public 3.0.248

Available since version 3.0.150.

Usage

$wireException->setCode($code);

Arguments

NameType(s)Description
$codeint string

WireException methods and properties

API reference based on ProcessWire core version 3.0.255