Interface: ApiScribuntoConsoleError
Defined in: extensions/scribunto.ts:56
The type: "error" shape (a Lua error reported in band).
Extends
ApiScribuntoConsoleBase
Properties
html?
optionalhtml?:string
Defined in: extensions/scribunto.ts:58
Rendered error plus backtrace HTML (<ol class="scribunto-trace">…).
message?
optionalmessage?:string
Defined in: extensions/scribunto.ts:61
Plain-text error message.
messagename?
optionalmessagename?:string
Defined in: extensions/scribunto.ts:64
i18n key of message.
session?
optionalsession?:number
Defined in: extensions/scribunto.ts:34
Opaque console session id; echo it back (via a stable cookie) to keep state across questions.
Inherited from
ApiScribuntoConsoleBase.session
sessionIsNew?
optionalsessionIsNew?:""
Defined in: extensions/scribunto.ts:43
Valueless flag: the empty string when this question started a new session, else absent.
Inherited from
ApiScribuntoConsoleBase.sessionIsNew
sessionMaxSize?
optionalsessionMaxSize?:number
Defined in: extensions/scribunto.ts:40
Byte ceiling before scribunto-console-too-large is raised.
Inherited from
ApiScribuntoConsoleBase.sessionMaxSize
sessionSize?
optionalsessionSize?:number
Defined in: extensions/scribunto.ts:37
Bytes used so far in the session (content plus accumulated questions).
Inherited from
ApiScribuntoConsoleBase.sessionSize
type?
optionaltype?:ScribuntoConsoleType
Defined in: extensions/scribunto.ts:31
Whether the question evaluated cleanly (normal) or raised a Lua error (error).
Inherited from
ApiScribuntoConsoleBase.type