You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The new option determines how error objects (see box.error.new) are
encoded in the msgpack format:
If it's set, errors are encoded as the MP_ERROR msgpack extension.
This is the default behavior.
If it's unset, the encoded format depends on other msgpack
configuration options (encode_load_metatables, encode_use_tostring,
encode_invalid_as_nil). With the otherwise default configuration,
they are encoded as strings (see error.message).
Functions affected by the default configuration (msgpack.cfg):
msgpack and msgpackffi modules
Storing errors in tuples and spaces (box.tuple.new)
Product: Tarantool
Since:
Root document: https://www.tarantool.io/en/doc/latest/reference/reference_lua/msgpack/#msgpack-cfg
SME: @ locker
Peer reviewer: @
Details
The new option determines how error objects (see box.error.new) are
encoded in the msgpack format:
This is the default behavior.
configuration options (encode_load_metatables, encode_use_tostring,
encode_invalid_as_nil). With the otherwise default configuration,
they are encoded as strings (see error.message).
Functions affected by the default configuration (msgpack.cfg):
Requested by @locker in tarantool/tarantool@fa1652d
The text was updated successfully, but these errors were encountered: