Interface TarantoolErrorFactory

    • Method Detail

      • create

        Optional<TarantoolException> create​(org.msgpack.value.Value error)
        Parse the serialized error object and if it matches any of the familiar formats, produce and return a corresponding exception, or an empty Optional otherwise.
        Parameters:
        error - error received from Tarantool
        Returns:
        an Optional, If the format is appropriate, then Optional will not be null