| Extracted from Pike v7.8 release 866 at 2016-04-05.

[Top]
Error
Error.Generic

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

Method `[]

  `array|string `[](int(0..1) 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()