You are here

public function cf_error_code::set_severity in Common Functionality 7.2

Assign the severity.

Parameters

string $severity: The severity of the error. The possible numeric values are derived from watchdog_severity_levels().

See also

watchdog_severity_levels()

File

modules/cf_error/classes/cf_error_code.php, line 71
Provides the derror exception class.

Class

cf_error_code

Code

public function set_severity($severity) {
  $this->severity = $severity;
}