Skip to content

Error management #23

@bluesillybeard

Description

@bluesillybeard

Error management

Currently, Pinc's error management frontend is fairly usable. However, there are a number of internal changes that will make usage more consistent, including:

  • internal convenience function for validating objects and their types
  • null values
  • integer overflows
  • state changes
  • when an error is ignored and the caller continues to call Pinc functions, it should "just work" to some degree

Additionally, there is currently no way to rigorously test that all possible errors are properly returned to the user. Some kind of testing framework on that front would be quite helpful.

Also, there is currently no way to reset after an error occurs.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions