Is the recording of a person's last words reliable?

Sometimes it is, while other times it may contain errors or deliberately misquoted.