Extracted from Pike v8.0 release 240 as of 2016-05-31.
   

Method Error.Generic()->`[]()


Method `[]

array|string res = Error.Generic()[ index ]

Description

Index operator.

Simulates an array

Array
string msg

Error message as returned by message.

array backtrace

Backtrace as returned by backtrace.


Note

The error message is always terminated with a newline.

See also

backtrace()