Client SDK Version 1.8.1
Ionic Security client SDK for Python users
Public Member Functions | Public Attributes | List of all members
ionicsdk.exceptions.ServerResponse Class Reference

Server response object returned from most Ionic server calls. More...

Inheritance diagram for ionicsdk.exceptions.ServerResponse:
ionicsdk.exceptions.IonicServerException

Public Member Functions

def __init__ (self, httpcode, servercode, servermessage, serverdatajson, conversationid)
 Constructs a server response instance with the provided values. More...
 

Public Attributes

 httpcode
 (int) The HTTP response code
 
 servercode
 (int) The internal server error code or zero if none was provided by the server
 
 servermessage
 (string) The internal server error message or empty if none was provided by the server
 
 serverdatajson
 (string) The internal server error data JSON or empty if none was provided by the server
 
 conversationid
 (string) The conversation ID generated by the client for use in the server request
 

Detailed Description

Server response object returned from most Ionic server calls.

Constructor & Destructor Documentation

◆ __init__()

def ionicsdk.exceptions.ServerResponse.__init__ (   self,
  httpcode,
  servercode,
  servermessage,
  serverdatajson,
  conversationid 
)

Constructs a server response instance with the provided values.

Parameters
httpcode(int) The HTTP response code
servercode(int) The internal server error code or zero if none was provided by the server
servermessage(string) The internal server error data JSON or empty if none was provided by the server
serverdatajson(string) The internal server error data JSON or empty if none was provided by the server
conversationid(string) The conversation ID generated by the client for use in the server request

The documentation for this class was generated from the following file: