Skip to content

Provides getErrors() method for Response class, so you can work with array of errors form response.#32

Open
akhromium wants to merge 1 commit into
dchesterton:masterfrom
akhromium:master
Open

Provides getErrors() method for Response class, so you can work with array of errors form response.#32
akhromium wants to merge 1 commit into
dchesterton:masterfrom
akhromium:master

Conversation

@akhromium
Copy link
Copy Markdown

I's great to have array or errors, so you can parse errors messages and perform additional actions. As example: you pass some non-existing (in some cases) custom fields in getLeadByFilterType request, marketo will returns 2 errors. You can parse them, delete from request and try again, but you need array of error messages to get incorrect field names.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant