5.1 Manual correction

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

5.1 Manual correction

D Burgess-4
debug.traceback ([message])

Returns a string with a traceback of the call stack. An optional
message string is appended at the beginning of the traceback. This
function is typically used with xpcall to produce better error
messages.

should read

An optional message string is prepended to the traceback message.


or

An optional message string is placed at the beginning of the traceback.

DB
Reply | Threaded
Open this post in threaded view
|

Re: 5.1 Manual correction

Jamie Webb-3
On Wed, Mar 29, 2006 at 12:19:39PM +1000, D Burgess wrote:

> debug.traceback ([message])
>
> Returns a string with a traceback of the call stack. An optional
> message string is appended at the beginning of the traceback. This
> function is typically used with xpcall to produce better error
> messages.
>
> should read
>
> An optional message string is prepended to the traceback message.
>
>
> or
>
> An optional message string is placed at the beginning of the traceback.

Nah. The append/prepend thing is a programmerism. Prepend isn't even a
word elsewhere. It's perfectly correct to append to the beginning.

-- Jamie Webb