Extracted from Pike v8.0 release 164 as of 2016-02-09.
   

Method Error.mkerror()


Method mkerror

object mkerror(mixed error)

Description

Returns an Error object for any argument it receives. If the argument already is an Error object or is empty, it does nothing.