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

[Top]
Error
Error.Generic

# Method Error.Generic()->cast()

Method cast

  `array cast(string type)`

Description

  Cast operator.

Note

  The only supported type to cast to is `"array"`, which generates an old-style error `({<font face='courier'><a href='../../../predef_3A_3A/Error/Generic/message.html'>message` (), <font face='courier'><a href='../../../predef_3A_3A/Error/Generic/backtrace.html'>backtrace ()}).