Ticket #185 (closed enhancement: fixed)

Opened 10 months ago

Last modified 10 months ago

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

Changed 10 months ago by nick

  • type changed from defect to enhancement

Changed 10 months ago by nick

  • description modified (diff)

Changed 10 months ago by nick

  • status changed from new to accepted
  • description modified (diff)

Do we have/know of a definitive list of the codes that the FP uses?

Changed 10 months ago by nick

  • description modified (diff)

Changed 10 months ago by nick

  • milestone set to 0.1rc1

Changed 10 months ago by nick

  • component changed from AMF0 to Utility

Changed 10 months ago by nick

  • status changed from accepted to closed
  • resolution set to fixed

Fixed in r1003.

Note: See TracTickets for help on using tickets.