SessionError#

class SessionError#

A Session error.

Methods#

class SessionError
quark() int#

Registers error quark for SoupSession if needed.

Fields#

class SessionError
ENCODING#

The server’s response was in an unsupported format

MESSAGE_ALREADY_IN_QUEUE#

The message is already in the session queue. Messages can only be reused after unqueued.

PARSING#

The server’s response could not be parsed

REDIRECT_BAD_URI#

Failed to redirect message because Location header contains an invalid URI

REDIRECT_NO_LOCATION#

Failed to redirect message because Location header was missing or empty in response

TOO_MANY_REDIRECTS#

The message has been redirected too many times

TOO_MANY_RESTARTS#

The message has been restarted too many times