function errorimport { error } from "https://dotland.deno.dev/std@0.116.0/log/mod.ts"; error<T>(msg: () => T, ...args: unknown[]): T | undefinedLog with error level, using default logger. error<T>(msg: T extends GenericFunction ? never : T, ...args: unknown[]): Terror<T>(msg: (T extends GenericFunction ? never : T) | (() => T), ...args: unknown[]): T | undefinedLog with error level, using default logger. Type ParametersTParametersmsg: () => T...args: unknown[]ReturnsT | undefinedType ParametersTParametersmsg: T extends GenericFunction ? never : T...args: unknown[]ReturnsTType ParametersTParametersmsg: (T extends GenericFunction ? never : T) | (() => T)...args: unknown[]ReturnsT | undefined