swh.graphql.errors package# Submodules: swh.graphql.errors.errors module ObjectNotFoundError ObjectNotFoundError.msg PaginationError PaginationError.msg InvalidInputError InvalidInputError.msg NullableObjectError DataError swh.graphql.errors.handlers module format_error() on_auth_error() Module contents: exception swh.graphql.errors.ObjectNotFoundError(message, errors=None)[source]# Bases: Exception msg: str = 'Object error'# exception swh.graphql.errors.PaginationError(message, errors=None)[source]# Bases: Exception msg: str = 'Pagination error'# exception swh.graphql.errors.InvalidInputError(message, errors=None)[source]# Bases: Exception msg: str = 'Input error'# exception swh.graphql.errors.NullableObjectError[source]# Bases: Exception exception swh.graphql.errors.DataError[source]# Bases: Exception swh.graphql.errors.format_error(error: Union[GraphQLError, GraphQLSyntaxError], debug: bool = False)[source]# Response error formatting swh.graphql.errors.on_auth_error(request: Request, exc: Exception)[source]#