# NeptuneQueryException

> **Class** in `langchain_aws`

📖 [View in docs](https://reference.langchain.com/python/langchain-aws/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-aws/graphs/neptune_graph/NeptuneQueryException/get_message)
- [`get_details()`](https://reference.langchain.com/python/langchain-aws/graphs/neptune_graph/NeptuneQueryException/get_details)

---

[View source on GitHub](https://github.com/langchain-ai/langchain-aws/blob/ea22fe3d744a3248b0b74ed555e9c34844b35a54/libs/aws/langchain_aws/graphs/neptune_graph.py#L55)