Skip to content

MissingTypeError() Source

Bases: NumdaplotError

Raised when the type of a new Array cannot be guessed.

The Array is created without any present value and without dtype.

Added in version 0.1.0

Examples:

import numdaplot as ndp

try:
    ndp.Array.from_list([])
except ndp.MissingTypeError as error:
    print(error)
# Cannot guess the type of an Array without any present value, give dtype.