Returns the Error extracted from the Metadata.
the error extracted from the metadata or Optional.empty() if there is no error.
Optional.empty()
the metadata to convert