ValueError
Raised when a value has an acceptable type but invalid contents, range, or meaning for the operation.
Inherits from: RuntimeError
Constructor
ValueError message
Builds an error reporting a value of the right type but unusable contents.
Parameters
| Name | Type | Description |
|---|---|---|
message |
Str |
description of the problem with the value |