dreamworkAPI
Ctrl K
GitHub
classDocs / DecodeError

DecodeError

classsharedmenusource
Object → Error → DecodeError

An error raised when encoded data (JSON, VDF, ...) cannot be decoded because it is malformed.

Constructor

DecodeError(message: ( string | nil ), position: ( integer | nil )): DecodeError

Fields

NameTypeDescription
messagestring | nilThe reason the data could not be decoded.
positioninteger | nilByte offset in the input where decoding failed.

Inherited methods

From Error 5
Generated from the dreamwork meta branch.