new error message convention
Add `raise-argument-error', `raise-result-error', `raise-arguments-error', and `raise-range-error'. The old convention was designed for reporting on a single (sometimes very long line). The new convention is <name>: <short message> <field>: <detail> ... If <detail> is long or itself spans multiple lines, then it may also use the form <field>: <detail> where each line of <detail> is indented by 3 spaces. Backtrace information is shown as a multi-line "context" field. original commit: 9e7548de615610a5be2adb33c4cf6ee10f9e7589
This commit is contained in:
parent
71d054cc1f
commit
5500ad5b86
|
@ -2730,7 +2730,7 @@ of the contract library does not change over time.
|
|||
m
|
||||
1
|
||||
2))
|
||||
"procedure m method: expects 1 argument, given 2: 1 2")
|
||||
"application: wrong number of arguments\n procedure: m method\n expected number of arguments: 1\n given number of arguments: 2\n arguments:\n 1\n 2")
|
||||
|
||||
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
||||
;;
|
||||
|
|
Loading…
Reference in New Issue
Block a user