title: get a text from the error code returns from the GetLastError() function
body: <p>I need to get the text of an error code that i got from the GetLastError function.
  I saw a few examples but i want a function that get the code and return the string.
  Thank's you all</p>