isError

public final Optional<Boolean> isError()

Whether the code execution resulted in an error.

Throws

if the JSON field has an unexpected type (e.g. if the server responded with an unexpected value).