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:
Collaboration diagram for keystone.exception.Error:

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

Definition at line 62 of file

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,
**  kwargs 
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

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

Definition at line 70 of file

◆ message_format

keystone.exception.Error.message_format = None

◆ title

keystone.exception.Error.title = None

Definition at line 71 of file

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