Catch

class laminar.configurations.layers.Catch(*exceptions: type[Exception])

Bases: object

Configures a layer to catch certain exceptions.

Notes

Catches specified errors and their subclasses.

Usage:

@Flow.register(catch=Catch(...))

Methods

Attributes

__init__(*exceptions: type[Exception])