Announcement

Collapse
No announcement yet.

Problem with API Sample Code

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Problem with API Sample Code

    I have been working with the EspoApiClient class. However, the only way I could get the sample usage to work was by deleting error handling line:
    throw new \Exception($errorMessage, $this->getResponseHttpCode()); In the request method. What should the correct code for error handling be? What did I miss? TIA

  • #2
    Read about try - catch in php manual
    PHP is a popular general-purpose scripting language that powers everything from your blog to the most popular websites in the world.

    Comment

    Working...
    X