geos.GEOSContext_setErrorHandler_r ⇒ number
⏏
Sets the error handler for a GEOS context.
Kind: Exported member
Returns: number
- The previous error handler function pointer.
Param | Type | Description |
---|---|---|
context | number | A pointer to the GEOS context handle. |
handler | number | The error handler function pointer. |
geos.GEOSContext_setErrorMessageHandler_r ⏏
Sets an error message handler for a given GEOS context. An error message handler is a function that takes a string argument and does something with it, such as printing it to stderr or logging it somewhere. Error messages indicate that something went wrong during a GEOS operation.
Kind: Exported member
Param | Type | Description |
---|---|---|
handle | number | A pointer to the GEOS context handle. |
ef | function | A pointer to an error message handler function. |
userData | any | A pointer to user data that will be passed to the error message handler function. |
geos.GEOSContext_setNoticeHandler_r ⇒ number
⏏
Sets the notice handler for a GEOS context.
Kind: Exported member
Returns: number
- The previous notice handler function pointer.
Param | Type | Description |
---|---|---|
context | number | A pointer to the GEOS context handle. |
handler | number | The notice handler function pointer. |
geos.GEOSContext_setNoticeMessageHandler_r ⏏
Sets a notice message handler for a given GEOS context. A notice message handler is a function that takes a string argument and does something with it, such as printing it to stdout or logging it somewhere. Notice messages are informative messages that do not indicate an error condition.
Kind: Exported member
Param | Type | Description |
---|---|---|
handle | number | A pointer to the GEOS context handle. |
nf | function | A pointer to a notice message handler function. |
userData | any | A pointer to user data that will be passed to the notice message handler function. |