Skip to main content
Everything inherits from sf.SFError (exceptions) or sf.SFWarning (warnings), so except sf.SFError catches any numeric or structural problem from the library. The numeric exceptions also inherit from the matching built-in, so existing except OverflowError and except ZeroDivisionError handlers keep working.

Numeric events (subject to the policy)

Device path warnings

Static errors (always raise)

Reading a message

Messages are written to be acted on. They name the width, the operation and the operands, the exact result, and the device value: