Graph error
Classes:
Name | Description |
---|---|
GraphError |
Base exception for graph-related errors. |
Attributes:
Name | Type | Description |
---|---|---|
logger |
|
Attributes¶
Classes¶
GraphError
¶
Bases: Exception
Base exception for graph-related errors.
This exception is raised when an error related to graph operations occurs.
Example
from pyagenity.exceptions.graph_error import GraphError raise GraphError("Invalid graph structure")
Methods:
Name | Description |
---|---|
__init__ |
Initializes a GraphError with the given message. |
Source code in pyagenity/exceptions/graph_error.py
7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 |
|
Functions¶
__init__
¶
__init__(message)
Initializes a GraphError with the given message.
Parameters:
Name | Type | Description | Default |
---|---|---|---|
|
str
|
Description of the error. |
required |
Source code in pyagenity/exceptions/graph_error.py
18 19 20 21 22 23 24 25 26 |
|