please mention the function name inside the error string. See `Array.reduce` for an example.