dreamworkAPI
Ctrl K
GitHub
classDocs / ValueError

ValueError

classsharedmenusource
Object → Error → ValueError

An error raised when a value has the correct type but is otherwise invalid or out of the accepted range for an operation.

Constructor

ValueError(value: any, message: ( string | nil )): ValueError

Fields

NameTypeDescription
messagestring | nilOptional explanation of why the value is invalid.
valueanyThe invalid value.

Inherited methods

From Error 5
Generated from the dreamwork meta branch.