Flex Error List

Is there a list of possible ErrorCode values ​​for the Flex Fault object (mx.rpc.Fault; Flex SDK: 3.4)?

At least error codes for failures generated on the client side?

I think of something like a list of possible runtime errors found in the Adobe RTE List , but for faultCodes (e.g. Client.Error.MessageSend, Server.Processing, etc.).

It is possible that I just do not understand my problem well enough to do a decent search, but I did not come up with anything all day. It may also be that there is only one or two client-side error code values. It seems like it would be prudent that there would not be a comprehensive list of server-side error values, but maybe there is a BlazeDS / LiveCycle faultCodes list?

Any help is greatly appreciated.

+3
source share
2 answers

So, it seems that the answer is pretty much No. I assume this makes sense, I think, since most server-side crashes come from the server. I decided that there would be a list of standard types of failures, at least as part of BlazeDS and / or LCDS.

Here's a nice article on setting up exception handling in BlazeDS. Does it explain well why the answer to this question is “No”, and also provides a good way to handle exceptions in BlazeDS, which will provide you with a special list of trouble codes.

http://www.flexpasta.com/index.php/2008/05/16/exception-handling-with-blazeds-and-flex/

+1
source

, : , " " (mx.rpc.events.FaultEvent) :

var event:FaultEvent = new FaultEvent();
trace (event.message);

, ur.

,

0

Source: https://habr.com/ru/post/1722513/


All Articles