sdwis_drink_water.errors

Module Contents

exception sdwis_drink_water.errors.SdwisHTTPException(message='An HTTP error occurred in the SDWIS package')

Bases: Exception

Exception raised for HTTP-related errors in the SDWIS package.

message

Explanation of the error.

Type:

str

exception sdwis_drink_water.errors.SdwisQueryParamsException(message='A query parameter error occurred in the SDWIS package')

Bases: Exception

Exception raised for errors related to query parameters in SDWIS API requests.

message

Explanation of the error.

Type:

str

exception sdwis_drink_water.errors.SdwisResultDataParserException(message='A data parsing error occurred in the SDWIS package')

Bases: Exception

Exception raised for errors encountered while parsing results data from SDWIS API.

message

Explanation of the error.

Type:

str