Nasal library/debug: Difference between revisions

Jump to navigation Jump to search
Doc printerror()
(→‎print_rank(): Finish doc)
(Doc printerror())
Line 225: Line 225:


=== printerror() ===
=== printerror() ===
{{Nasal doc
|syntax = debug.printerror(err);
|text = Prints out errors from {{func link|call()}}.
|param1 = err
|param1text = Error vector from {{func link|call()}}.
|example1 = call(func {
    print(math.ip); # should be math.pi, not math.ip
}, [], nil, nil, var err = []);
debug.printerror(err); # prints "no such member" error
print("Hello again"); # this will still print
}}
=== propify() ===
=== propify() ===
=== proptrace() ===
=== proptrace() ===

Navigation menu