Skip to content

Add error field 'name' #4150

Closed
Closed
@TarantoolBot

Description

@TarantoolBot

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

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

Details

The value is equal to name used on creation.

 tarantool> box.error.new(box.error.ILLEGAL_PARAMS, 'foo').name
---
- ILLEGAL_PARAMS
...

Requested by @ nshy in tarantool/tarantool@2bf9579.

Metadata

Metadata

Assignees

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