I've built an iOS app that's powered by data proved by Pyramid. How can I 
use Pyramid's error framework such as

    self.request.response.status = 400
>     return json.dumps( { 'error' : 'The server was sent bad parameters!'}, 
> default=json_util.default)


to correctly populate an NSError? Specifically, putting an error message in 
NSError's userDict and extracting it via [error localizedDescription]? So 
far every time I've tried, userDict is completely null. What am I doing 
wrong?

-- 
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/-/GFfpYdsNH2YJ.
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