__construct() __construct(\Error $error) Wraps the passed Error class Parameters \Error $error the Error object