Module tskit::error

source ·
Expand description

Error handling

Enums

Functions

  • Given an instance of TskReturnValue, obtain the tskit error message if there is indeed an error.
  • Given a return value from low-level tskit function, obtain the corresponding error message.
  • Takes the return code from a tskit function and panics if the code indicates an error. The error message is included in the panic statement.