log_message = !empty($message) ? E::LONG_NAME . ': ' . $message : ''; $this->error_code = $error_code; } /** * Returns the error message, but with the extension name prefixed. * @return string */ public function getLogMessage() { return $this->log_message; } /** * Returns the error code. * @return string */ public function getErrorCode() { return $this->error_code; } }