Skip to content

Replace assert() calls with if/else/raise <Exception>() #28

Closed
@hugodahl

Description

@hugodahl

Per a conversation in the FXAS21002C library on issue #21, checking for conditions and raising an exception is preferable over calling assert(). This is preferable for a number of reasons, including memory usage.

Metadata

Metadata

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions