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.UnexpectedError Class Reference
Inheritance diagram for keystone.exception.UnexpectedError:
Collaboration diagram for keystone.exception.UnexpectedError:

Static Public Attributes

 code = int(http.client.INTERNAL_SERVER_ERROR)
 title = http.client.responses[http.client.INTERNAL_SERVER_ERROR]
- Static Public Attributes inherited from keystone.exception.SecurityError
 amendment = _('(Disable insecure_debug mode to suppress these details.)')
- Static Public Attributes inherited from keystone.exception.Error
 code = None
 title = None
 message_format = None

Private Member Functions

def _build_message (self, message, **kwargs)

Additional Inherited Members

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

Detailed Description

Avoids exposing details of failures, unless in insecure_debug mode.

Definition at line 566 of file

Member Function Documentation

◆ _build_message()

def keystone.exception.UnexpectedError._build_message (   self,
**  kwargs 
Only returns detailed messages in insecure_debug mode.

Reimplemented from keystone.exception.SecurityError.

Definition at line 575 of file

References keystone.exception.UnexpectedError.debug_message_format.

Member Data Documentation

◆ code

keystone.exception.UnexpectedError.code = int(http.client.INTERNAL_SERVER_ERROR)

Definition at line 585 of file

◆ debug_message_format

Initial value:
= _("An unexpected error prevented the server "
"from fulfilling your request: %(exception)s.")

Definition at line 572 of file

Referenced by keystone.exception.UnexpectedError._build_message().

◆ message_format

Initial value:
= _("An unexpected error prevented the server "
"from fulfilling your request.")

Definition at line 569 of file

◆ title

keystone.exception.UnexpectedError.title = http.client.responses[http.client.INTERNAL_SERVER_ERROR]

Definition at line 586 of file

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