param err function stringifyErrorValue ( err ) { return `${ err . name . toUpperCase ( ) }: ${ err . message }
  ${ err . stack || '(no stack trace information)' }` ; } param errorDescription param err export function stringifyError ( errorDescription , err ) { return `${ errorDescription }\n${ err instanceof Error ? stringifyErrorValue ( err ) : err ? '' + err : '(missing error information)' }` ; }