dreamworkAPI
Ctrl K
GitHub
classDocs / EncodeError

EncodeError

classsharedmenusource
Object → Error → EncodeError

An error raised when a value cannot be encoded into a data format (JSON, VDF, ...) because the format cannot represent it.

Constructor

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

Fields

NameTypeDescription
messagestring | nilThe reason the value could not be encoded.
valueanyThe value that could not be encoded.

Inherited methods

From Error 5
Generated from the dreamwork meta branch.