Skip to content

Conversation

@Shawermik
Copy link
Collaborator

No description provided.

@Shawermik Shawermik force-pushed the add_errors branch 2 times, most recently from ec08911 to 15a80a8 Compare February 3, 2026 07:57
Copy link
Collaborator

@alrsorokin alrsorokin left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

пробегись по всему коду где ошибка кладется сначала в переменную

jsonpath.lua Outdated

return nil, 'no element matching expression'
local err = bad_request_error('no element matching expression')
return nil, err
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

return nil, bad_request_error('no element matching expression')

jsonpath.lua Outdated
if count ~= nil and type(count) ~= 'number' then
return nil, "invalid 'count' argument"
local err = bad_request_error("invalid 'count' argument")
return nil, err
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

return nil, bad_request_error("invalid 'count' argument")

jsonpath.lua Outdated
if expr == nil or (type(expr) ~= 'string' and type(expr) ~= 'table') then
return nil, "missing or invalid 'expr' argument"
local err = bad_request_error("missing or invalid 'expr' argument")
return nil, err
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

return nil, bad_request_error("missing or invalid 'expr' argument")

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants