error is the error message when status indicates failure.
public Optional<String> error()error is the error message when status indicates failure.
LangChainInvalidDataException: if the JSON field has an unexpected type (e.g. if the
server responded with an unexpected value).