Package web2py :: Package gluon :: Module restricted :: Class RestrictedError
[hide private]
[frames] | no frames]

Class RestrictedError

source code

              object --+        
                       |        
exceptions.BaseException --+    
                           |    
        exceptions.Exception --+
                               |
                              RestrictedError

class used to wrap an exception that occurs in the restricted environment below. the traceback is used to log the exception and generate a ticket.

Instance Methods [hide private]
 
__init__(self, layer='', code='', output='', environment={})
layer here is some description of where in the system the exception occurred.
source code
 
log(self, request)
logs the exception.
source code
 
load(self, request, app, ticket_id)
loads a logged exception.
source code

Inherited from exceptions.Exception: __new__

Inherited from exceptions.BaseException: __delattr__, __getattribute__, __getitem__, __getslice__, __reduce__, __repr__, __setattr__, __setstate__, __str__

Inherited from object: __hash__, __reduce_ex__

Properties [hide private]

Inherited from exceptions.BaseException: args, message

Inherited from object: __class__

Method Details [hide private]

__init__(self, layer='', code='', output='', environment={})
(Constructor)

source code 
layer here is some description of where in the system the exception occurred.
Overrides: exceptions.Exception.__init__