Extracted from Pike v8.0 release 28 as of 2015-09-20.
   

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.