get_error_msg
Will return the error message of the given function name.
Input: A string that contains the function name where an error occured.
Output: The message which represents the error stored from that function.
get_error_code
Will return the error code of the given function name.
Input: A string that represents the function name where an error occured.
Output: The code which represents the error stored from that function.