Error Handling

The following custom errors are defined in AirfoilDatabase

class airfoil_db.DatabaseBoundsError(airfoil, exception_indices, inputs_dict)

An exception thrown when the inputs to the airfoil database fall outside the database bounds.

airfoil

The name of the airfoil for which this exception occurred.

Type:str
inputs_dict

The arguments passed to the airfoil.

Type:dict
exception_indices

The indices at which the arguments fell outside the database bounds.

Type:list
message

A message about the error.

Type:str