public static class TarantoolErrors.TarantoolErrorsErrorFactory extends Object implements TarantoolErrorFactory
TarantoolInternalException subclasses
from the serialized representation in the format of require('errors').new_class("NewError"),| Constructor and Description |
|---|
TarantoolErrorsErrorFactory() |
| 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)
TarantoolErrorFactoryOptional otherwise.create in interface TarantoolErrorFactoryerror - error received from TarantoolOptional, If the format is appropriate, then Optional will not be nullCopyright © 2025 Picodata. All rights reserved.