Properties
Readonly actual
actual: string
Readonly expected
expected: string
Functions
Const create
- create(expected: string, actual: string, options?: { errors?: ReadonlyArray<DecodeError>; key?: undefined | string }): DecodeError
-
Parameters
-
expected: string
-
actual: string
-
Default value options: { errors?: ReadonlyArray<DecodeError>; key?: undefined | string } = {}
-
Optional Readonly errors?: ReadonlyArray<DecodeError>
-
Optional Readonly key?: undefined | string
An decoding error. Note: Is and MUST continue to be JSON-safe