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]];
> --
> 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
pylons-...@googlegroups.com.
> To unsubscribe from this group, send email to
>
pylons-discus...@googlegroups.com.
> For more options, visit this group at
>
http://groups.google.com/group/pylons-discuss?hl=en.