AS
Size: a a a
AS
R
R
AS
MO
LV
LV
tarantool> box.error.new(10, "Message"):unpack()
---
- code: 10
base_type: ClientError
type: ClientError
message: Space 'Message' already exists
trace:
- file: '[string "return box.error.new(10, "Message"):unpack()"]'
line: 1
...
tarantool> box.error.new{code = 10, reason = "Message"}:unpack()
---
- code: 10
base_type: ClientError
type: ClientError
message: Message
trace:
- file: '[string "return box.error.new{code = 10, reason = "Mes..."]'
line: 1
...
tarantool> box.error.new("MyType", "Message: %s", "msg"):unpack()
---
- code: 0
base_type: CustomError
type: MyType
custom_type: MyType
message: 'Message: msg'
trace:
- file: '[string "return box.error.new("MyType", "Message: %s",..."]'
line: 1
...
tarantool> box.error.new{code = 10, type = "MyType", reason = "Message"}:unpack()
---
- code: 10
base_type: CustomError
type: MyType
custom_type: MyType
message: Message
trace:
- file: '[string "return box.error.new{code = 10, type = "MyTyp..."]'
line: 1
...
AS
tarantool> box.error.new(10, "Message"):unpack()
---
- code: 10
base_type: ClientError
type: ClientError
message: Space 'Message' already exists
trace:
- file: '[string "return box.error.new(10, "Message"):unpack()"]'
line: 1
...
tarantool> box.error.new{code = 10, reason = "Message"}:unpack()
---
- code: 10
base_type: ClientError
type: ClientError
message: Message
trace:
- file: '[string "return box.error.new{code = 10, reason = "Mes..."]'
line: 1
...
tarantool> box.error.new("MyType", "Message: %s", "msg"):unpack()
---
- code: 0
base_type: CustomError
type: MyType
custom_type: MyType
message: 'Message: msg'
trace:
- file: '[string "return box.error.new("MyType", "Message: %s",..."]'
line: 1
...
tarantool> box.error.new{code = 10, type = "MyType", reason = "Message"}:unpack()
---
- code: 10
base_type: CustomError
type: MyType
custom_type: MyType
message: Message
trace:
- file: '[string "return box.error.new{code = 10, type = "MyTyp..."]'
line: 1
...
AS
AT
tarantool> box.error.new(10, "Message"):unpack()
---
- code: 10
base_type: ClientError
type: ClientError
message: Space 'Message' already exists
trace:
- file: '[string "return box.error.new(10, "Message"):unpack()"]'
line: 1
...
tarantool> box.error.new{code = 10, reason = "Message"}:unpack()
---
- code: 10
base_type: ClientError
type: ClientError
message: Message
trace:
- file: '[string "return box.error.new{code = 10, reason = "Mes..."]'
line: 1
...
tarantool> box.error.new("MyType", "Message: %s", "msg"):unpack()
---
- code: 0
base_type: CustomError
type: MyType
custom_type: MyType
message: 'Message: msg'
trace:
- file: '[string "return box.error.new("MyType", "Message: %s",..."]'
line: 1
...
tarantool> box.error.new{code = 10, type = "MyType", reason = "Message"}:unpack()
---
- code: 10
base_type: CustomError
type: MyType
custom_type: MyType
message: Message
trace:
- file: '[string "return box.error.new{code = 10, type = "MyTyp..."]'
line: 1
...
LV
LV
AS
AS