Skip to content

hide redundant fields of box.error.unpack() #4076

Open
@TarantoolBot

Description

@TarantoolBot

Related dev. issue(s): tarantool/tarantool#9101

Product: Tarantool
Since: 3.1
Root document: https://www.tarantool.io/en/doc/latest/reference/reference_lua/compat/
SME: @ nshy

Details

Do not show redundant fields of box.error.unpack(). These are base_type,
custom_type and code if the latter is 0.

New behaviour is available if box_error_unpack_type_and_code compat
option is 'new'. Default value is 'old` currently.

Requested by @ nshy in tarantool/tarantool@ee08747.

Metadata

Metadata

Assignees

No one assigned

    Labels

    3.1errorsreference[location] Tarantool manual, Reference part

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions