Skip to content

Exceptions

korapay_client.exceptions

ClientError

Bases: Exception

Raised when an error or exception occurs while making the request to Korapay.

Source code in src/korapay_client/exceptions.py
class ClientError(Exception):
    """Raised when an error or exception occurs while making the request to Korapay."""

    ...

MissingAPIKeyError

Bases: Exception

Raised when any of the public key, secret key and encryption key is missing

Source code in src/korapay_client/exceptions.py
1
2
3
4
class MissingAPIKeyError(Exception):
    """Raised when any of the public key, secret key and encryption key is missing"""

    ...