failure
failure(reply: Reply): string | null
Returns the error message from a failed parse reply.
If the reply is not, in fact, a failure, this function returns null.
Parameters
reply: A parse reply, presumably the return value of a call toparse.
Returns
- Returns the error message that comes from the parse reply, if it was unsuccessful. If it succeeded,
nullis returned..