ADCT Python
Python client API implementation for publishing ADCT data
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | List of all members
adctk.http_publisher.HttpStatusCodeError Class Reference
Inheritance diagram for adctk.http_publisher.HttpStatusCodeError:
Inheritance graph
[legend]
Collaboration diagram for adctk.http_publisher.HttpStatusCodeError:
Collaboration graph
[legend]

Public Member Functions

 __init__ (self, code)
 
 __str__ (self)
 

Public Attributes

 code
 

Detailed Description

Formatter exception for an error code

Constructor & Destructor Documentation

◆ __init__()

adctk.http_publisher.HttpStatusCodeError.__init__ (   self,
  code 
)
23 def __init__(self, code):
24 self.code = code

Member Function Documentation

◆ __str__()

adctk.http_publisher.HttpStatusCodeError.__str__ (   self)
25 def __str__(self):
26 return f"ERROR: Status code returned {self.code}"
27
28

Member Data Documentation

◆ code

adctk.http_publisher.HttpStatusCodeError.code

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