Skip to content

Database Errors

MissingSDEError

Bases: Exception

Raised when the Static Data Export (SDE) is missing or not found at the expected location.

This typically occurs when required EVE Online SDE files have not been downloaded or are not accessible by the application.

Attributes:

Name Type Description
location str

The path or location where the SDE was expected.

message str

Human-readable explanation of the error.

Source code in src/eve_analytics/exceptions/db_errors.py
class MissingSDEError(Exception):
    """
    Raised when the Static Data Export (SDE) is missing or not found
    at the expected location.

    This typically occurs when required EVE Online SDE files have not
    been downloaded or are not accessible by the application.

    Attributes:
        location (str): The path or location where the SDE was expected.
        message (str): Human-readable explanation of the error.
    """

    def __init__(self, location, message="you are missing the sde download"):
        """
        Initialize the MissingSDEError.

        Args:
            location (str): The expected location of the SDE files.
            message (str, optional): Base error message.
        """

        self.message = f"{message} -> {location}"
        super().__init__(self.message)

__init__(location, message='you are missing the sde download')

Initialize the MissingSDEError.

Parameters:

Name Type Description Default
location str

The expected location of the SDE files.

required
message str

Base error message.

'you are missing the sde download'
Source code in src/eve_analytics/exceptions/db_errors.py
def __init__(self, location, message="you are missing the sde download"):
    """
    Initialize the MissingSDEError.

    Args:
        location (str): The expected location of the SDE files.
        message (str, optional): Base error message.
    """

    self.message = f"{message} -> {location}"
    super().__init__(self.message)