# NeptuneQueryException

> **Class** in `langchain_community`

📖 [View in docs](https://reference.langchain.com/python/langchain-community/graphs/neptune_graph/NeptuneQueryException)

Exception for the Neptune queries.

## Signature

```python
NeptuneQueryException(
    self,
    exception: Union[str, Dict],
)
```

## Extends

- `Exception`

## Constructors

```python
__init__(
    self,
    exception: Union[str, Dict],
)
```

| Name | Type |
|------|------|
| `exception` | `Union[str, Dict]` |


## Properties

- `message`
- `details`

## Methods

- [`get_message()`](https://reference.langchain.com/python/langchain-community/graphs/neptune_graph/NeptuneQueryException/get_message)
- [`get_details()`](https://reference.langchain.com/python/langchain-community/graphs/neptune_graph/NeptuneQueryException/get_details)

---

[View source on GitHub](https://github.com/langchain-ai/langchain-community/blob/a6a6079511ac8a5c1293337f88096b8641562e77/libs/community/langchain_community/graphs/neptune_graph.py#L8)