mirror of
https://codeberg.org/cage/tinmop/
synced 2025-02-17 08:10:36 +01:00
- [JSONRPC] improved error message.
This commit is contained in:
parent
b96acd7c66
commit
0188d2f351
@ -364,8 +364,11 @@
|
||||
(error 'json-rpc-error
|
||||
:code (response-error-code +error-invalid-params+)
|
||||
:transaction-id (id request)
|
||||
:text (format nil
|
||||
"Number of parameters (arity) not compatible with function")))
|
||||
:text
|
||||
(format nil
|
||||
"Number of parameters (arity) not compatible with function: expected ~a got ~a."
|
||||
(length (params request))
|
||||
(length (params fun)))))
|
||||
(t
|
||||
(let* ((params (params request))
|
||||
(called-by-name-p (called-by-name-p fun params)))
|
||||
|
Loading…
x
Reference in New Issue
Block a user