docusign / docusign-soap-sdk

Wraps the DocuSign eSignature SOAP API in 5 different languages: Java, C#, PHP, Ruby, Salesforce (Apex)
http://docusign.com/devcenter
MIT License
89 stars 122 forks source link

We should have custom error pages with an optional detail to get the exception #13

Open mikebz opened 13 years ago

mikebz commented 13 years ago

Our error pages should be inline with the best practices. The sample error page should send people to the forum to get help and maybe have a section one can expand to see the error message.

jferraioli commented 13 years ago

This would be easy enough to implement with the toggle function.

nicholasareed commented 13 years ago

Good idea, I'll add this to the PHP Sample soon. The more debug info the better!

ds-jk commented 13 years ago

I found a spot where the exception could be prevented through prior validation (no document was provided when sending). Are you looking to rely on such an error page/exception handler or would it be good to show a validation error page instead of an API exception?

nicholasareed commented 13 years ago

I believe we are going to continue to show the API exception, but also provide more information on the error page. It should include the SOAP Request, Response, and highlight the error message.