peupy.exceptions
Common exceptions in the PuePy framework.
Classes:
| Name | Description | 
|---|---|
ElementNotInDom | 
 Raised when an element is not found in the DOM, but it is expected to be, such as when getting Tag.element  | 
PropsError | 
 Raised when unexpected props are passed to a component  | 
PageError | 
 Analogous to http errors, but for a single-page app where the error is client-side  | 
NotFound | 
 Page not found  | 
Forbidden | 
 Forbidden  | 
Unauthorized | 
 Unauthorized  | 
Redirect | 
 Redirect  | 
ElementNotInDom
              Bases: Exception
Raised when an element is not found in the DOM, but it is expected to be, such as when getting Tag.element
Forbidden
              Bases: PageError
Raised manually, presumably when the user is not authorized to access a page.
Source code in puepy/exceptions.py
NotFound
PageError
PropsError
Redirect
              Bases: PageError
Raised manually when the user should be redirected to another page.