public static class TarantoolErrors.TarantoolUnrecognizedErrorFactory extends Object implements TarantoolErrorFactory
TarantoolInternalException
Constructor and Description |
---|
TarantoolUnrecognizedErrorFactory() |
Modifier and Type | Method and Description |
---|---|
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. |
public Optional<TarantoolException> create(org.msgpack.value.Value error)
TarantoolErrorFactory
Optional
otherwise.create
in interface TarantoolErrorFactory
error
- error received from TarantoolOptional
, If the format is appropriate, then Optional will not be nullCopyright © 2025 Picodata. All rights reserved.