File Errors
LogDirectoryNotSetError
Bases: Exception
Raised when a log directory is required but has not been configured.
This typically occurs when attempting to access or process logs before
calling a setup method like set_log_directory() or initializing the
class with a valid directory.
Source code in src/eve_analytics/exceptions/file_errors.py
__int__()
Initialize the LogDirectoryNotSetError with a default message.
LogLocationError
Bases: Exception
Raised when an invalid or inaccessible log file location is provided.
Attributes:
| Name | Type | Description |
|---|---|---|
location |
str
|
The problematic file or directory path. |
message |
str
|
Human-readable explanation of the error. |
Source code in src/eve_analytics/exceptions/file_errors.py
__int__(message, location)
Initialize the LogLocationError.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
message
|
str
|
Description of the error. |
required |
location
|
str
|
The invalid or inaccessible path. |
required |
Source code in src/eve_analytics/exceptions/file_errors.py
MissingFilesError
Bases: Exception
Raised when a required file is missing from the ESPN API or local environment.
Attributes:
| Name | Type | Description |
|---|---|---|
file_name |
str
|
The name of the missing file. |
message |
str
|
Human-readable explanation of the error. |
Source code in src/eve_analytics/exceptions/file_errors.py
__init__(file_name, message='you are missing a file: ')
Initialize the MissingFilesError.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
file_name
|
str
|
The name of the missing file. |
required |
message
|
str
|
Base error message. Defaults to "You are missing a file:". |
'you are missing a file: '
|