latch_cli.exceptions package#

Submodules#

latch_cli.exceptions.cache module#

latch_cli.exceptions.errors module#

latch_cli.exceptions.handler module#

class latch_cli.exceptions.handler.CrashHandler[source]#

Bases: object

Display and store useful information when the program fails

  • Display tracebacks

  • Parse and display opaque flytekit serialization error messages

  • Write necessary information to reproduce failure to a tarball

init()[source]#

Custom error handling.

When an exception is thrown:
  • Display an optional message

  • Pretty print the traceback

  • Parse unintuitive errors and redisplay

  • Store useful system information in a tarball for debugging

latch_cli.exceptions.traceback module#

Module contents#