err_handler
Logs GDAL error messages by capturing the error class, error number, and message, then routing them to the logger at the error level.
def err_handler(
error_class: int,
error_number: int,
message: string
) - > null
Logs GDAL-specific errors to the application logger using the provided error classification and message details.
Parameters
| Name | Type | Description |
|---|---|---|
| error_class | int | The severity level or category of the GDAL error (e.g., CE_Failure, CE_Fatal). |
| error_number | int | The specific error code identifier returned by the GDAL library. |
| message | string | The descriptive error text explaining the cause of the failure. |
Returns
| Type | Description |
|---|---|
null | Nothing is returned; the function performs a logging side effect. |