Table of Contents

Class: NamingException ./src/peak/exceptions.py

Base class for all peak.naming exceptions

Supports the following constructor keyword arguments, which then become attributes of the exception object:

rootException
Exception that caused this exception to be thrown.
rootTraceback
Traceback of the root exception.
resolvedName
The portion of the name that was successfully resolved.
resolvedObj
The object through which resolution was successful, i.e., the object to which resolvedName is bound.
remainingName
The remaining portion of the name which could not be resolved.

The constructor also accepts an arbitrary number of unnamed arguments, which are treated the way arguments to the standard Exception class are treated. (That is, saved in the args attribute and used in the __str__ method for formatting.)

Base Classes   
Exception
Methods   
__init__
__repr__
__str__
  __init__ 
__init__ (
        self,
        *args,
        *kw,
        )

  __repr__ 
__repr__ ( self )

Format the exception

  __str__ 
__str__ ( self )


Table of Contents

This document was automatically generated on Mon Apr 22 01:11:03 2024 by HappyDoc version 2.1