keystone  18.0.0
About: OpenStack Keystone (Core Service: Identity) provides an authentication and authorization service for other OpenStack services. Provides a catalog of endpoints for all OpenStack services.
The "Victoria" series (maintained release).
  Fossies Dox: keystone-18.0.0.tar.gz  ("unofficial" and yet experimental doxygen-generated source code documentation)  

keystone.exception.Error Class Reference
Inheritance diagram for keystone.exception.Error:
[legend]
Collaboration diagram for keystone.exception.Error:
[legend]

Public Member Functions

def __init__ (self, message=None, **kwargs)
 
- Public Member Functions inherited from keystone.exception._KeystoneExceptionMeta
def __new__ (mcs, name, bases, class_dict)
 

Static Public Attributes

 code = None
 
 title = None
 
 message_format = None
 

Private Member Functions

def _build_message (self, message, **kwargs)
 

Detailed Description

Base error class.

Child classes should define an HTTP status code, title, and a
message_format.

Definition at line 62 of file exception.py.

Constructor & Destructor Documentation

◆ __init__()

def keystone.exception.Error.__init__ (   self,
  message = None,
**  kwargs 
)

Member Function Documentation

◆ _build_message()

def keystone.exception.Error._build_message (   self,
  message,
**  kwargs 
)
private
Build and returns an exception message.

:raises KeyError: given insufficient kwargs

Reimplemented in keystone.exception.UnexpectedError, and keystone.exception.SecurityError.

Definition at line 87 of file exception.py.

References keystone.exception._format_with_unicode_kwargs(), and keystone.exception.Error.message_format.

Referenced by keystone.exception.Error.__init__().

Member Data Documentation

◆ code

keystone.exception.Error.code = None
static

Definition at line 70 of file exception.py.

◆ message_format

keystone.exception.Error.message_format = None
static

◆ title

keystone.exception.Error.title = None
static

Definition at line 71 of file exception.py.


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