This is more to do with your iOS parsing than anything to do with Pyramid.

For example, I have code in iOS that attempts to parse the response,
pull out the payload, etc of a JSON-RPC response. If any of those
fails I generate an NSError object, but they all have a similar syntax
of:

NSError *error = [NSError errorWithDomain:<some domain> code:<some
code> userInfo:[NSDictionary dictionaryWithObjectsAndKeys:<some error
message>, NSLocalizedDescriptionKey, nil]];

On Mon, Aug 20, 2012 at 3:20 PM, Zak <[email protected]> wrote:
> Are there no other iOS developers on the mailing list? I would think at
> least a few of you would have run into a situation like this. It would be
> really useful to return your own custom 400 error responses and have the app
> interpret them.
>
> --
> You received this message because you are subscribed to the Google Groups
> "pylons-discuss" group.
> To view this discussion on the web visit
> https://groups.google.com/d/msg/pylons-discuss/-/TmYzck3NSr4J.
>
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to
> [email protected].
> For more options, visit this group at
> http://groups.google.com/group/pylons-discuss?hl=en.

-- 
You received this message because you are subscribed to the Google Groups 
"pylons-discuss" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/pylons-discuss?hl=en.

Reply via email to