Skip to content

TypeError

Raised when an operation receives a value of the wrong type.

Inherits from: RuntimeError

Constructor

TypeError message

Builds an error reporting a value of the wrong type.

Parameters

NameTypeDescription
message Str description of the mismatch