Lines Matching refs:error
253 * The error message associated with an error
257 protected $error = false;
260 * Possible error messages
582 * Returns an error message associated with the last GeSHi operation,
583 * or false if no error has occurred
585 * @return string|false An error message if there has been an error, else false
588 public function error() {
589 if ($this->error) {
598 $this->error_messages[$this->error]);
600 return "<br /><strong>GeSHi Error:</strong> $msg (code {$this->error})<br />";
613 if (GESHI_ERROR_NO_SUCH_LANG == $this->error) {
654 $this->error = false;
675 $this->error = GESHI_ERROR_NO_SUCH_LANG;
792 $this->error = sprintf('Geshi::get_lang_fullname() Unknown Language: %s', $language);
798 $this->error = sprintf('Geshi::get_lang_fullname(%s): Regex can not detect language', $language);
824 $this->error = GESHI_ERROR_INVALID_HEADER_TYPE;
955 $this->error = GESHI_ERROR_INVALID_LINE_NUMBER_TYPE;
1560 $this->error = GESHI_ERROR_FILE_NOT_READABLE;
1999 // don't trigger range out of order error
2014 // don't trigger range out of order error
2169 $this->error = GESHI_ERROR_NO_SUCH_LANG;
2172 // Firstly, if there is an error, we won't highlight
2173 if ($this->error) {
4342 // If there's an error, chances are that the language file
4345 if ($this->error) {
4753 if ($geshi->error()) {