"""GraphQL Errors

The :mod:`graphql.error` package is responsible for creating and formatting GraphQL
errors.
"""

from .graphql_error import (
    GraphQLError,
    GraphQLErrorExtensions,
    GraphQLFormattedError,
    GraphQLFormattedErrorExtensions,
)

from .syntax_error import GraphQLSyntaxError

from .located_error import located_error

__all__ = [
    "GraphQLError",
    "GraphQLErrorExtensions",
    "GraphQLFormattedError",
    "GraphQLFormattedErrorExtensions",
    "GraphQLSyntaxError",
    "located_error",
]
