function errorimport { error } from "https://deno.land/std@0.59.0/log/mod.ts"; error<T>(msg: () => T, ...args: unknown[]): T | undefinederror<T>(msg: T extends Function ? never : T, ...args: unknown[]): TType ParametersTParametersmsg: () => T...args: unknown[]ReturnsT | undefinedType ParametersTParametersmsg: T extends Function ? never : T...args: unknown[]ReturnsT