YAP 7.1.0
s_yap_error_descriptor

all we need to know about an error/throw More...

#include <YapError.h>

Public Attributes

yap_error_number errorNo
 error identifier More...
 
yap_error_class_number errorClass
 kind of error: derived from errorNo; More...
 
char * errorAsText
 errorNo as text More...
 
char * classAsText
 errorClass as text More...
 
intptr_t errorLine
 c-code that generated the error C-line More...
 
const char * errorFunction
 C-function. More...
 
const char * errorFile
 C-file. More...
 
const char * prologPredName
 Prolog predicate that caused the error: name. More...
 
uintptr_t prologPredArity
 Prolog predicate that caused the error:arity. More...
 
const char * prologPredModule
 Prolog predicate that caused the error:module
More...
 
const char * prologPredFile
 Prolog predicate that caused the error:line
More...
 
uintptr_t prologPredLine
 line where error clause defined More...
 
uintptr_t parserPos
 syntax and other parsing errors More...
 
uintptr_t parserFirstPos
 
uintptr_t parserLastPos
 
uintptr_t parserLine
 
uintptr_t parserFirstLine
 
uintptr_t parserLastLine
 
const char * parserTextA
 
size_t parserTextB
 
const char * parserFile
 
bool parserReadingCode
 reading a clause, or called from read? More...
 
bool prologConsulting
 whether we are consulting More...
 
const char * culprit
 
YAP_Term errorUserTerm
 
YAP_Term culprit_t
 
const char * prologStack
 Prolog stack at the time. More...
 
char * errorMsg
 
size_t errorMsgLen
 
struct s_yap_error_descriptortop_error
 

Detailed Description

all we need to know about an error/throw

Definition at line 205 of file YapError.h.

Member Data Documentation

◆ classAsText

char* classAsText

errorClass as text

Definition at line 213 of file YapError.h.

◆ culprit

const char* culprit

Definition at line 246 of file YapError.h.

◆ culprit_t

YAP_Term culprit_t

Definition at line 247 of file YapError.h.

◆ errorAsText

char* errorAsText

errorNo as text

Definition at line 211 of file YapError.h.

◆ errorClass

yap_error_class_number errorClass

kind of error: derived from errorNo;

Definition at line 209 of file YapError.h.

◆ errorFile

const char* errorFile

C-file.

Definition at line 220 of file YapError.h.

◆ errorFunction

const char* errorFunction

C-function.

Definition at line 218 of file YapError.h.

◆ errorLine

intptr_t errorLine

c-code that generated the error C-line

Definition at line 216 of file YapError.h.

◆ errorMsg

char* errorMsg

Definition at line 250 of file YapError.h.

◆ errorMsgLen

size_t errorMsgLen

Definition at line 251 of file YapError.h.

◆ errorNo

yap_error_number errorNo

error identifier

Definition at line 207 of file YapError.h.

◆ errorUserTerm

YAP_Term errorUserTerm

Definition at line 247 of file YapError.h.

◆ parserFile

const char* parserFile

Definition at line 241 of file YapError.h.

◆ parserFirstLine

uintptr_t parserFirstLine

Definition at line 237 of file YapError.h.

◆ parserFirstPos

uintptr_t parserFirstPos

Definition at line 234 of file YapError.h.

◆ parserLastLine

uintptr_t parserLastLine

Definition at line 238 of file YapError.h.

◆ parserLastPos

uintptr_t parserLastPos

Definition at line 235 of file YapError.h.

◆ parserLine

uintptr_t parserLine

Definition at line 236 of file YapError.h.

◆ parserPos

uintptr_t parserPos

syntax and other parsing errors

Definition at line 233 of file YapError.h.

◆ parserReadingCode

bool parserReadingCode

reading a clause, or called from read?

Definition at line 243 of file YapError.h.

◆ parserTextA

const char* parserTextA

Definition at line 239 of file YapError.h.

◆ parserTextB

size_t parserTextB

Definition at line 240 of file YapError.h.

◆ prologConsulting

bool prologConsulting

whether we are consulting

Definition at line 245 of file YapError.h.

◆ prologPredArity

uintptr_t prologPredArity

Prolog predicate that caused the error:arity.

Definition at line 225 of file YapError.h.

◆ prologPredFile

const char* prologPredFile

Prolog predicate that caused the error:line

Definition at line 229 of file YapError.h.

◆ prologPredLine

uintptr_t prologPredLine

line where error clause defined

Definition at line 231 of file YapError.h.

◆ prologPredModule

const char* prologPredModule

Prolog predicate that caused the error:module

Definition at line 227 of file YapError.h.

◆ prologPredName

const char* prologPredName

Prolog predicate that caused the error: name.

Definition at line 223 of file YapError.h.

◆ prologStack

const char* prologStack

Prolog stack at the time.

Definition at line 249 of file YapError.h.

◆ top_error

struct s_yap_error_descriptor* top_error

Definition at line 252 of file YapError.h.


The documentation for this struct was generated from the following file: