DocumentationSapphire Utilities@sapphire/resultFunctionserrOn this pageFunction: err() err<E, T>(this: void, value?: E): Err<E, T> Type Parameters Type ParameterDefault typeEundefinedTany Parameters ParameterTypethisvoidvalue?E Returns Err<E, T> Defined in projects/utilities/packages/result/src/lib/Result.ts:1170