Extracted from Pike v8.0 release 28 as of 2015-08-03.
   

Method Error.Generic()->cast()


Method cast

(array)Error.Generic()

Description

Cast operator.

Note

The only supported type to cast to is "array", which generates an old-style error ({message(),    backtrace()}).