Machina Client SDK Version 2.1.2
Ionic Security Machina Client SDK for Python users
Public Member Functions | List of all members
ionicsdk.exceptions.IonicServerException Class Reference

Exception for Ionic server errors. More...

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

Public Member Functions

def __init__ (self, message, code, httpcode, servercode, servermessage, serverdatajson, conversationid)
 Constructs a server exception instance with the provided values. More...
 
- Public Member Functions inherited from ionicsdk.exceptions.IonicException
def __init__ (self, message, code)
 Constructs an exception instance with the provided values. More...
 
- Public Member Functions inherited from ionicsdk.exceptions.ServerResponse
def __init__ (self, httpcode, servercode, servermessage, serverdatajson, conversationid)
 Constructs a server response instance with the provided values. More...
 

Additional Inherited Members

- Public Attributes inherited from ionicsdk.exceptions.IonicException
 code
 (int) The error code that caused the exception. More...
 
 message
 (string) The error text message
 
- Public Attributes inherited from ionicsdk.exceptions.ServerResponse
 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

Exception for Ionic server errors.

Constructor & Destructor Documentation

◆ __init__()

def ionicsdk.exceptions.IonicServerException.__init__ (   self,
  message,
  code,
  httpcode,
  servercode,
  servermessage,
  serverdatajson,
  conversationid 
)

Constructs a server exception instance with the provided values.

Parameters
message(string) The error text message
code(int) The error code that caused the exception. See errors.py for more information.
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: