mapscript.errorObj¶
- class mapscript.errorObj¶
This class allows inspection of the MapServer error stack. Instances of errorObj are created internally by MapServer as errors happen. Errors are managed as a chained list with the first item being the most recent error.
Attributes
code
int MapServer error code such as
MS_IMGERR
errorcount
int Number of subsequent errors
isreported
int
MS_TRUE
orMS_FALSE
flag indicating if the error has been outputmessage
char [2048] Context-dependent error message
routine
char [64] MapServer function in which the error was set
thisown
The membership flag
Methods
- __init__()[Quellcode]¶
Create a new instance
- next() errorObj [Quellcode]¶
Returns the next error in the stack or NULL if the end has been reached