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:
[legend]
Collaboration diagram for keystone.exception.UnexpectedError:
[legend]

Static Public Attributes

 message_format
 
 debug_message_format
 
 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 exception.py.

Member Function Documentation

◆ _build_message()

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

Reimplemented from keystone.exception.SecurityError.

Definition at line 575 of file exception.py.

References keystone.exception.UnexpectedError.debug_message_format.

Member Data Documentation

◆ code

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

Definition at line 585 of file exception.py.

◆ debug_message_format

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

Definition at line 572 of file exception.py.

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

◆ message_format

keystone.exception.UnexpectedError.message_format
static
Initial value:
= _("An unexpected error prevented the server "
"from fulfilling your request.")

Definition at line 569 of file exception.py.

◆ title

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

Definition at line 586 of file exception.py.


The documentation for this class was generated from the following file:
keystone.i18n._
_
Definition: i18n.py:29