Search Results for

    Show / Hide Table of Contents

    Enum ResponseStatusCode

    Represents the various status codes that Gremlin Server returns.

    Namespace: Gremlin.Net.Driver.Messages
    Assembly: Gremlin.Net.dll
    Syntax
    public enum ResponseStatusCode

    Fields

    Name Description
    Authenticate

    A challenge from the server for the client to authenticate its request.

    ClientSerializationError

    The request message contains objects that were not serializable on the client side.

    Forbidden

    The server could authenticate the request, but will not fulfill it. This is a general purpose code that would typically be returned if the request is authenticated but not authorized to do what it is doing.

    InvalidRequestArguments

    The request message was parseable, but the arguments supplied in the message were in conflict or incomplete. Check the message format and retry the request.

    MalformedRequest

    The request message was not properly formatted which means it could not be parsed at all or the "op" code was not recognized such that Gremlin Server could properly route it for processing. Check the message format and retry the request.

    NoContent

    The server processed the request but there is no result to return (e.g. an Iterator with no elements)

    • there are no messages remaining in this stream.
    PartialContent

    The server successfully returned some content, but there is more in the stream to arrive - wait for a SUCCESS to signify the end of the stream.

    ServerError

    A general server error occurred that prevented the request from being processed.

    ServerErrorFailStep

    A server error that is produced when the fail()-step is triggered.

    ServerErrorTemporary

    A server error that indicates that the client should retry the request. A graph will typically return this error when a transaction fails due to a locking exception or some other sort of concurrent modification. In other words, the request was likely valid but the state of the server at the particular time the request arrived could not be processed to success, but could be at a later moment.

    ServerEvaluationError

    The request submitted for processing evaluated by the server with errors and could not be processed. Check the script or remote traversal submitted for errors or other problems and then resubmit.

    ServerSerializationError

    The server was not capable of serializing an object that was returned from the script supplied on the request. Either transform the object into something Gremlin Server can process within the script or install mapper serialization classes to Gremlin Server.

    ServerTimeout

    The server exceeded one of the timeout settings for the request and could therefore only partially responded or did not respond at all.

    Success

    The server successfully processed a request to completion - there are no messages remaining in this stream.

    TooManyRequests

    Indicates that too many requests have been sent in a given amount of time.

    Unauthorized

    The request attempted to access resources that the requesting user did not have access to.

    In this article
    Back to top Copyright © 2018 The Apache Software Foundation