Skip to main content
Version: 0.16.x

exceptions

TakeoffError Objects​

class TakeoffError(Exception)

The takeoff error class

__init__​

def __init__(status_code: int, message: str, *args, **kwargs)

Create a new takeoff error

Arguments:

  • status_code int - the http status code (from the takeoff server) that triggered the error
  • message str - the string message describing the error