Interface ParserFailureState

Information about the failure.

interface ParserFailureState {
    kind: ResultKindFail;
    reason: string | object;
    userState: UserState;
}

Properties

Properties

kind: ResultKindFail

The severity of the failure.

reason: string | object

The reason reported by the failure.

userState: UserState

The parser's user state at the moment of failure.