Ticket #185 (closed enhancement: fixed)
Create an api that marries various flash events with custom exception classes
| Reported by: | nick | Owned by: | nick |
|---|---|---|---|
| Priority: | major | Milestone: | 0.1 |
| Component: | Utility | Version: | 0.1 |
| Keywords: | Cc: |
Description (last modified by nick) (diff)
When rejecting a connection, the response is set to '/onStatus' and the body contains an anonymous object with the code 'Server.Call.Failed'.
It would be beneficial to link that 'code' to an exception class, something along the lines pyamf.remoting.CallFailed which would subclass pyamf.remoting.RemotingError.
Then, once we've matched up all the standard error messages we can build the appropriate exception and raise that, very useful for the client (See #167).
Change History
Note: See
TracTickets for help on using
tickets.
