Table of Contents

EInvalidStateException.Create Constructor

Creates the exception with the expected and actual JSON states.

Syntax

Unit: Bcl.Json.Reader

constructor EInvalidStateException.Create(const Expected: TJsonState; const Actual: TJsonState; const Path: string);

Parameters

<-> Parameter Type Description
const Expected TJsonState The expected JSON state.
const Actual TJsonState The actual JSON state encountered.
const Path string The JSON path where the error occurred.

See also