userver: testsuite.plugins.asyncexc Namespace Reference
Loading...
Searching...
No Matches
testsuite.plugins.asyncexc Namespace Reference

Detailed Description

Async exceptions handler.

Handle excpetions in background coroutines.

Classes

class  BaseError
class  BackgroundExceptionError

Functions

 _asyncexc ()
 asyncexc_append (_asyncexc)
 Register background exception.
 asyncexc_check (_asyncexc)
 Raise in case there are background exceptions.
 _raise_if_any (errors)
 _clear_and_copy (errors)

Function Documentation

◆ _asyncexc()

_asyncexc ( )
protected

Definition at line 24 of file asyncexc.py.

◆ _clear_and_copy()

_clear_and_copy ( errors)
protected

Definition at line 67 of file asyncexc.py.

◆ _raise_if_any()

_raise_if_any ( errors)
protected

Definition at line 56 of file asyncexc.py.