Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

 

Get all errors encountered after the last call to the API.

Code Block
themeRDark
languagephp
titleExample
linenumberstrue
$errors = $tmClient->getLastErrors();
foreach($errors as $errorcode => $errormsg)
	echo "Code $errorcode: $errormsg";

Arguments:

None

Returns:

an associative array with the key being the error code and the value being the error message. There may be multiple errors.

Specific error codes:

None. This function never throws an exception.

 

Panel
title
  • Next

 

 

Warning
titleYou must know!

Our example code is an illustration of how you might integrate with our systems and is not certified for production environments. You are responsible for testing and QA.