function makePlainError

export function makePlainError(err: Error): MakeErrorOptions;

Makes a plain error info object from an Error.

Parameters

err: Error
Error to get info from