jgorset/facepy — pull request #62 by richid (2012-08-24 02:36:30+00:00)
Title: Message is not displayed when exception is raised

Currently, the custom exceptions are not displayed correctly when raised
and hide the actual message.

Before:
```python
>>> facepy.exceptions.FacepyError('doh')
FacepyError()
>>> facepy.exceptions.FacebookError('doh', 100)
FacebookError()
```
After:
```python
>>> facepy.exceptions.FacepyError('doh')
FacepyError('doh',)
>>> facepy.exceptions.FacebookError('doh', 100)
FacebookError('[100] doh',)
```

This simple change should make them behave as expected.