~mterry/ubuntu/natty/libofx/libofx.new-upstream-benoit-sru

« back to all changes in this revision

Viewing changes to doc/html/fx-0_89_80_2lib_2ofx__error__msg_8hh-source.html

  • Committer: Bazaar Package Importer
  • Author(s): Saïvann Carignan
  • Date: 2008-02-06 17:25:16 UTC
  • mto: (3.1.2 lenny)
  • mto: This revision was merged to the branch mainline in revision 11.
  • Revision ID: james.westby@ubuntu.com-20080206172516-bnzxb29igye8um9h
Tags: upstream-0.9.0
Import upstream version 0.9.0

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
 
2
<html><head><meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
 
3
<title>LibOFX: ofx_error_msg.hh Source File</title>
 
4
<link href="doxygen.css" rel="stylesheet" type="text/css">
 
5
<link href="tabs.css" rel="stylesheet" type="text/css">
 
6
</head><body>
 
7
<!-- Generated by Doxygen 1.5.3 -->
 
8
<div class="tabs">
 
9
  <ul>
 
10
    <li><a href="main.html"><span>Main&nbsp;Page</span></a></li>
 
11
    <li><a href="namespaces.html"><span>Namespaces</span></a></li>
 
12
    <li><a href="annotated.html"><span>Data&nbsp;Structures</span></a></li>
 
13
    <li class="current"><a href="files.html"><span>Files</span></a></li>
 
14
  </ul>
 
15
</div>
 
16
<h1>ofx_error_msg.hh</h1><a href="fx-0_89_80_2lib_2ofx__error__msg_8hh.html">Go to the documentation of this file.</a><div class="fragment"><pre class="fragment"><a name="l00001"></a>00001 <span class="comment">/***************************************************************************</span>
 
17
<a name="l00002"></a>00002 <span class="comment">                          ofx_data_struct.h  -  description</span>
 
18
<a name="l00003"></a>00003 <span class="comment">                             -------------------</span>
 
19
<a name="l00004"></a>00004 <span class="comment">    begin                : Tue Mar 19 2002</span>
 
20
<a name="l00005"></a>00005 <span class="comment">    copyright            : (C) 2002 by Benoit Gr�goire</span>
 
21
<a name="l00006"></a>00006 <span class="comment">    email                : bock@step.polymtl.ca</span>
 
22
<a name="l00007"></a>00007 <span class="comment"> ***************************************************************************/</span>
 
23
<a name="l00011"></a>00011 <span class="comment">/***************************************************************************</span>
 
24
<a name="l00012"></a>00012 <span class="comment"> *                                                                         *</span>
 
25
<a name="l00013"></a>00013 <span class="comment"> *   This program is free software; you can redistribute it and/or modify  *</span>
 
26
<a name="l00014"></a>00014 <span class="comment"> *   it under the terms of the GNU General Public License as published by  *</span>
 
27
<a name="l00015"></a>00015 <span class="comment"> *   the Free Software Foundation; either version 2 of the License, or     *</span>
 
28
<a name="l00016"></a>00016 <span class="comment"> *   (at your option) any later version.                                   *</span>
 
29
<a name="l00017"></a>00017 <span class="comment"> *                                                                         *</span>
 
30
<a name="l00018"></a>00018 <span class="comment"> ***************************************************************************/</span>
 
31
<a name="l00019"></a>00019 <span class="preprocessor">#ifndef OFX_DATA_STRUCT_H</span>
 
32
<a name="l00020"></a>00020 <span class="preprocessor"></span><span class="preprocessor">#define OFX_DATA_STRUCT_H</span>
 
33
<a name="l00021"></a>00021 <span class="preprocessor"></span>
 
34
<a name="l00023"></a>00023 <span class="keyword">struct </span><a class="code" href="structErrorMsg.html" title="An abstraction of an OFX error code sent by an OFX server.">ErrorMsg</a>
 
35
<a name="l00024"></a>00024 {
 
36
<a name="l00025"></a>00025   <span class="keywordtype">int</span> <a class="code" href="structErrorMsg.html#1308f8c77806e8c2a78f59ea17a6401d">code</a>;           
 
37
<a name="l00026"></a><a class="code" href="structErrorMsg.html#c1eea419b5ed61d97b8ec5f03a9bd7b8">00026</a>   <span class="keyword">const</span> <span class="keywordtype">char</span> * <a class="code" href="structErrorMsg.html#c1eea419b5ed61d97b8ec5f03a9bd7b8">name</a>;        
 
38
<a name="l00027"></a><a class="code" href="structErrorMsg.html#f79b973bc93afa2d85bdebe7db18155f">00027</a>   <span class="keyword">const</span> <span class="keywordtype">char</span> * <a class="code" href="structErrorMsg.html#f79b973bc93afa2d85bdebe7db18155f">description</a>; 
 
39
<a name="l00028"></a>00028 };
 
40
<a name="l00029"></a>00029 
 
41
<a name="l00031"></a>00031 
 
42
<a name="l00034"></a><a class="code" href="fx-0_89_80_2lib_2ofx__error__msg_8hh.html#55330fe48f8c210038dfaae0ed8dd608">00034</a> <span class="keyword">const</span> <a class="code" href="structErrorMsg.html" title="An abstraction of an OFX error code sent by an OFX server.">ErrorMsg</a> <a class="code" href="ofx__error__msg_8hh.html#55330fe48f8c210038dfaae0ed8dd608" title="List known error codes.">error_msgs_list</a>[] = {
 
43
<a name="l00035"></a>00035   {0, <span class="stringliteral">"Success"</span>, <span class="stringliteral">"The server successfully processed the request."</span>},
 
44
<a name="l00036"></a>00036   {1, <span class="stringliteral">"Client is up-to-date"</span>, <span class="stringliteral">"Based on the client timestamp, the client has the latest information. The response does not supply any additional information."</span>},
 
45
<a name="l00037"></a>00037   {2000, <span class="stringliteral">"General error"</span>, <span class="stringliteral">"Error other than those specified by the remaining error codes. (Note: Servers should provide a more specific error whenever possible. Error code 2000 should be reserved for cases in which a more specific code is not available.)"</span>},
 
46
<a name="l00038"></a>00038   {2001, <span class="stringliteral">"Invalid account"</span>, <span class="stringliteral">""</span>},
 
47
<a name="l00039"></a>00039   {2002, <span class="stringliteral">"General account error"</span>, <span class="stringliteral">"Account error not specified by the remaining error codes."</span>},
 
48
<a name="l00040"></a>00040   {2003, <span class="stringliteral">"Account not found"</span>, <span class="stringliteral">"The specified account number does not correspond to one of the user's accounts."</span>},
 
49
<a name="l00041"></a>00041   {2004, <span class="stringliteral">"Account closed"</span>, <span class="stringliteral">"The specified account number corresponds to an account that has been closed."</span>},
 
50
<a name="l00042"></a>00042   {2005, <span class="stringliteral">"Account not authorized"</span>, <span class="stringliteral">"The user is not authorized to perform this action on the account, or the server does not allow this type of action to be performed on the account."</span>},
 
51
<a name="l00043"></a>00043   {2006, <span class="stringliteral">"Source account not found"</span>, <span class="stringliteral">"The specified account number does not correspond to one of the user's accounts."</span>},
 
52
<a name="l00044"></a>00044   {2007, <span class="stringliteral">"Source account closed"</span>, <span class="stringliteral">"The specified account number corresponds to an account that has been closed."</span>},
 
53
<a name="l00045"></a>00045   {2008, <span class="stringliteral">"Source account not authorized"</span>, <span class="stringliteral">"The user is not authorized to perform this action on the account, or the server does not allow this type of action to be performed on the account."</span>},
 
54
<a name="l00046"></a>00046   {2009, <span class="stringliteral">"Destination account not found"</span>, <span class="stringliteral">"The specified account number does not correspond to one of the user's accounts."</span>},
 
55
<a name="l00047"></a>00047   {2010, <span class="stringliteral">"Destination account closed"</span>, <span class="stringliteral">"The specified account number corresponds to an account that has been closed."</span>},
 
56
<a name="l00048"></a>00048   {2011, <span class="stringliteral">"Destination account not authorized"</span>, <span class="stringliteral">"The user is not authorized to perform this action on the account, or the server does not allow this type of action to be performed on the account."</span>},
 
57
<a name="l00049"></a>00049   {2012, <span class="stringliteral">"Invalid amount"</span>, <span class="stringliteral">"The specified amount is not valid for this action; for example, the user specified a negative payment amount."</span>},
 
58
<a name="l00050"></a>00050   {2014, <span class="stringliteral">"Date too soon"</span>, <span class="stringliteral">"The server cannot process the requested action by the date specified by the user."</span>},
 
59
<a name="l00051"></a>00051   {2015, <span class="stringliteral">"Date too far in future"</span>, <span class="stringliteral">"The server cannot accept requests for an action that far in the future."</span>},
 
60
<a name="l00052"></a>00052   {2016, <span class="stringliteral">"Transaction already committed"</span>, <span class="stringliteral">"Transaction has entered the processing loop and cannot be modified/cancelled using OFX. The transaction may still be cancelled or modified using other means (for example, a phone call to Customer Service)."</span>},
 
61
<a name="l00053"></a>00053   {2017, <span class="stringliteral">"Already canceled"</span>, <span class="stringliteral">"The transaction cannot be canceled or modified because it has already been canceled."</span>},
 
62
<a name="l00054"></a>00054   {2018, <span class="stringliteral">"Unknown server ID"</span>, <span class="stringliteral">"The specified server ID does not exist or no longer exists."</span>},
 
63
<a name="l00055"></a>00055   {2019, <span class="stringliteral">"Duplicate request"</span>, <span class="stringliteral">"A request with this &lt;TRNUID&gt; has already been received and processed."</span>},
 
64
<a name="l00056"></a>00056   {2020, <span class="stringliteral">"Invalid date"</span>, <span class="stringliteral">"The specified datetime stamp cannot be parsed; for instance, the datetime stamp specifies 25:00 hours."</span>},
 
65
<a name="l00057"></a>00057   {2021, <span class="stringliteral">"Unsupported version"</span>, <span class="stringliteral">"The server does not support the requested version. The version of the message set specified by the client is not supported by this server."</span>},
 
66
<a name="l00058"></a>00058   {2022, <span class="stringliteral">"Invalid TAN"</span>, <span class="stringliteral">"The server was unable to validate the TAN sent in the request."</span>},
 
67
<a name="l00059"></a>00059   {2023, <span class="stringliteral">"Unknown FITID"</span>, <span class="stringliteral">"The specified FITID/BILLID does not exist or no longer exists. [BILLID not found in the billing message sets]"</span>},
 
68
<a name="l00060"></a>00060   {2025, <span class="stringliteral">"Branch ID missing"</span>, <span class="stringliteral">"A &lt;BRANCHID&gt; value must be provided in the &lt;BANKACCTFROM&gt; aggregate for this country system, but this field is missing."</span>},
 
69
<a name="l00061"></a>00061   {2026, <span class="stringliteral">"Bank name doesn't match bank ID"</span>, <span class="stringliteral">"The value of &lt;BANKNAME&gt; in the &lt;EXTBANKACCTTO&gt; aggregate is inconsistent with the value of &lt;BANKID&gt; in the &lt;BANKACCTTO&gt; aggregate."</span>},
 
70
<a name="l00062"></a>00062   {2027, <span class="stringliteral">"Invalid date range"</span>, <span class="stringliteral">"Response for non-overlapping dates, date ranges in the future, et cetera."</span>},
 
71
<a name="l00063"></a>00063   {2028, <span class="stringliteral">"Requested element unknown"</span>, <span class="stringliteral">"One or more elements of the request were not recognized by the server or the server (as noted in the FI Profile) does not support the elements. The server executed the element transactions it understood and supported. For example, the request file included private tags in a &lt;PMTRQ&gt; but the server was able to execute the rest of the request."</span>},
 
72
<a name="l00064"></a>00064   {6500, <span class="stringliteral">"&lt;REJECTIFMISSING&gt;Y invalid without &lt;TOKEN&gt;"</span>, <span class="stringliteral">"This error code may appear &lt;SYNCERROR&gt; element of an &lt;xxxSYNCRS&gt; wrapper (in &lt;PRESDLVMSGSRSV1&gt; and V2 message set responses) or the &lt;CODE&gt; contained in any embedded transaction wrappers within a sync response. The corresponding sync request wrapper included &lt;REJECTIFMISSING&gt;Y with &lt;REFRESH&gt;Y or &lt;TOKENONLY&gt;Y, which is illegal."</span>},
 
73
<a name="l00065"></a>00065   {6501, <span class="stringliteral">"Embedded transactions in request failed to process: Out of date"</span>, <span class="stringliteral">"&lt;REJECTIFMISSING&gt;Y and embedded transactions appeared in the request sync wrapper and the provided &lt;TOKEN&gt; was out of date. This code should be used in the &lt;SYNCERROR&gt; of the response sync wrapper."</span>},
 
74
<a name="l00066"></a>00066   {6502, <span class="stringliteral">"Unable to process embedded transaction due to out-of-date &lt;TOKEN&gt;"</span>, <span class="stringliteral">"Used in response transaction wrapper for embedded transactions when &lt;SYNCERROR&gt;6501 appears in the surrounding sync wrapper."</span>},
 
75
<a name="l00067"></a>00067   {10000, <span class="stringliteral">"Stop check in process"</span>, <span class="stringliteral">"Stop check is already in process."</span>},
 
76
<a name="l00068"></a>00068   {10500, <span class="stringliteral">"Too many checks to process"</span>, <span class="stringliteral">"The stop-payment request &lt;STPCHKRQ&gt; specifies too many checks."</span>},
 
77
<a name="l00069"></a>00069   {10501, <span class="stringliteral">"Invalid payee"</span>, <span class="stringliteral">"Payee error not specified by the remainingerror codes."</span>},
 
78
<a name="l00070"></a>00070   {10502, <span class="stringliteral">"Invalid payee address"</span>, <span class="stringliteral">"Some portion of the payee's address is incorrect or unknown."</span>},
 
79
<a name="l00071"></a>00071   {10503, <span class="stringliteral">"Invalid payee account number"</span>, <span class="stringliteral">"The account number &lt;PAYACCT&gt; of the requested payee is invalid."</span>},
 
80
<a name="l00072"></a>00072   {10504, <span class="stringliteral">"Insufficient funds"</span>, <span class="stringliteral">"The server cannot process the request because the specified account does not have enough funds."</span>},
 
81
<a name="l00073"></a>00073   {10505, <span class="stringliteral">"Cannot modify element"</span>, <span class="stringliteral">"The server does not allow modifications to one or more values in a modification request."</span>},
 
82
<a name="l00074"></a>00074   {10506, <span class="stringliteral">"Cannot modify source account"</span>, <span class="stringliteral">"Reserved for future use."</span>},
 
83
<a name="l00075"></a>00075   {10507, <span class="stringliteral">"Cannot modify destination account"</span>, <span class="stringliteral">"Reserved for future use."</span>},
 
84
<a name="l00076"></a>00076   {10508, <span class="stringliteral">"Invalid frequency"</span>, <span class="stringliteral">"The specified frequency &lt;FREQ&gt; does not match one of the accepted frequencies for recurring transactions."</span>},
 
85
<a name="l00077"></a>00077   {10509, <span class="stringliteral">"Model already canceled"</span>, <span class="stringliteral">"The server has already canceled the specified recurring model."</span>},
 
86
<a name="l00078"></a>00078   {10510, <span class="stringliteral">"Invalid payee ID"</span>, <span class="stringliteral">"The specified payee ID does not exist or no longer exists."</span>},
 
87
<a name="l00079"></a>00079   {10511, <span class="stringliteral">"Invalid payee city"</span>, <span class="stringliteral">"The specified city is incorrect or unknown."</span>},
 
88
<a name="l00080"></a>00080   {10512, <span class="stringliteral">"Invalid payee state"</span>, <span class="stringliteral">"The specified state is incorrect or unknown."</span>},
 
89
<a name="l00081"></a>00081   {10513, <span class="stringliteral">"Invalid payee postal code"</span>, <span class="stringliteral">"The specified postal code is incorrect or unknown."</span>},
 
90
<a name="l00082"></a>00082   {10514, <span class="stringliteral">"Transaction already processed"</span>, <span class="stringliteral">"Transaction has already been sent or date due is past"</span>},
 
91
<a name="l00083"></a>00083   {10515, <span class="stringliteral">"Payee not modifiable by client"</span>, <span class="stringliteral">"The server does not allow clients to change payee information."</span>},
 
92
<a name="l00084"></a>00084   {10516, <span class="stringliteral">"Wire beneficiary invalid"</span>, <span class="stringliteral">"The specified wire beneficiary does not exist or no longer exists."</span>},
 
93
<a name="l00085"></a>00085   {10517, <span class="stringliteral">"Invalid payee name"</span>, <span class="stringliteral">"The server does not recognize the specified payee name."</span>},
 
94
<a name="l00086"></a>00086   {10518, <span class="stringliteral">"Unknown model ID"</span>, <span class="stringliteral">"The specified model ID does not exist or no longer exists."</span>},
 
95
<a name="l00087"></a>00087   {10519, <span class="stringliteral">"Invalid payee list ID"</span>, <span class="stringliteral">"The specified payee list ID does not exist or no longer exists."</span>},
 
96
<a name="l00088"></a>00088   {10600, <span class="stringliteral">"Table type not found"</span>, <span class="stringliteral">"The specified table type is not recognized or does not exist."</span>},
 
97
<a name="l00089"></a>00089   {12250, <span class="stringliteral">"Investment transaction download not supported (WARN)"</span>, <span class="stringliteral">"The server does not support investment transaction download."</span>},
 
98
<a name="l00090"></a>00090   {12251, <span class="stringliteral">"Investment position download not supported (WARN)"</span>, <span class="stringliteral">"The server does not support investment position download."</span>},
 
99
<a name="l00091"></a>00091   {12252, <span class="stringliteral">"Investment positions for specified date not available"</span>, <span class="stringliteral">"The server does not support investment positions for the specified date."</span>},
 
100
<a name="l00092"></a>00092   {12253, <span class="stringliteral">"Investment open order download not supported (WARN)"</span>, <span class="stringliteral">"The server does not support open order download."</span>},
 
101
<a name="l00093"></a>00093   {12254, <span class="stringliteral">"Investment balances download not supported (WARN)"</span>, <span class="stringliteral">"The server does not support investment balances download."</span>},
 
102
<a name="l00094"></a>00094   {12255, <span class="stringliteral">"401(k) not available for this account"</span>, <span class="stringliteral">"401(k) information requested from a non-401(k) account."</span>},
 
103
<a name="l00095"></a>00095   {12500, <span class="stringliteral">"One or more securities not found"</span>, <span class="stringliteral">"The server could not find the requested securities."</span>},
 
104
<a name="l00096"></a>00096   {13000, <span class="stringliteral">"User ID &amp; password will be sent out-of-band (INFO)"</span>, <span class="stringliteral">"The server will send the user ID and password via postal mail, e-mail, or another means. The accompanying message will provide details."</span>},
 
105
<a name="l00097"></a>00097   {13500, <span class="stringliteral">"Unable to enroll user"</span>, <span class="stringliteral">"The server could not enroll the user."</span>},
 
106
<a name="l00098"></a>00098   {13501, <span class="stringliteral">"User already enrolled"</span>, <span class="stringliteral">"The server has already enrolled the user."</span>},
 
107
<a name="l00099"></a>00099   {13502, <span class="stringliteral">"Invalid service"</span>, <span class="stringliteral">"The server does not support the service &lt;SVC&gt; specified in the service-activation request."</span>},
 
108
<a name="l00100"></a>00100   {13503, <span class="stringliteral">"Cannot change user information"</span>, <span class="stringliteral">"The server does not support the &lt;CHGUSERINFORQ&gt; request."</span>},
 
109
<a name="l00101"></a>00101   {13504, <span class="stringliteral">"&lt;FI&gt; Missing or Invalid in &lt;SONRQ&gt;"</span>, <span class="stringliteral">"The FI requires the client to provide the &lt;FI&gt; aggregate in the &lt;SONRQ&gt; request, but either none was provided, or the one provided was invalid."</span>},
 
110
<a name="l00102"></a>00102   {14500, <span class="stringliteral">"1099 forms not available"</span>, <span class="stringliteral">"1099 forms are not yet available for the tax year requested."</span>},
 
111
<a name="l00103"></a>00103   {14501, <span class="stringliteral">"1099 forms not available for user ID"</span>, <span class="stringliteral">"This user does not have any 1099 forms available."</span>},
 
112
<a name="l00104"></a>00104   {14600, <span class="stringliteral">"W2 forms not available"</span>, <span class="stringliteral">"W2 forms are not yet available for the tax year requested."</span>},
 
113
<a name="l00105"></a>00105   {14601, <span class="stringliteral">"W2 forms not available for user ID"</span>, <span class="stringliteral">"The user does not have any W2 forms available."</span>},
 
114
<a name="l00106"></a>00106   {14700, <span class="stringliteral">"1098 forms not available"</span>, <span class="stringliteral">"1098 forms are not yet available for the tax year requested."</span>},
 
115
<a name="l00107"></a>00107   {14701, <span class="stringliteral">"1098 forms not available for user ID"</span>, <span class="stringliteral">"The user does not have any 1098 forms available."</span>},
 
116
<a name="l00108"></a>00108   {15000, <span class="stringliteral">"Must change USERPASS"</span>, <span class="stringliteral">"The user must change his or her &lt;USERPASS&gt; number as part of the next OFX request."</span>},
 
117
<a name="l00109"></a>00109   {15500, <span class="stringliteral">"Signon invalid"</span>, <span class="stringliteral">"The user cannot signon because he or she entered an invalid user ID or password."</span>},
 
118
<a name="l00110"></a>00110   {15501, <span class="stringliteral">"Customer account already in use"</span>, <span class="stringliteral">"The server allows only one connection at a time, and another user is already signed on. Please try again later."</span>},
 
119
<a name="l00111"></a>00111   {15502, <span class="stringliteral">"USERPASS lockout"</span>, <span class="stringliteral">"The server has received too many failed signon attempts for this user. Please call the FI's technical support number."</span>},
 
120
<a name="l00112"></a>00112   {15503, <span class="stringliteral">"Could not change USERPASS"</span>, <span class="stringliteral">"The server does not support the &lt;PINCHRQ&gt; request."</span>},
 
121
<a name="l00113"></a>00113   {15504, <span class="stringliteral">"Could not provide random data"</span>, <span class="stringliteral">"The server could not generate random data as requested by the &lt;CHALLENGERQ&gt;."</span>},
 
122
<a name="l00114"></a>00114   {15505, <span class="stringliteral">"Country system not supported"</span>, <span class="stringliteral">"The server does not support the country specified in the &lt;COUNTRY&gt; field of the &lt;SONRQ&gt; aggregate."</span>},
 
123
<a name="l00115"></a>00115   {15506, <span class="stringliteral">"Empty signon not supported"</span>, <span class="stringliteral">"The server does not support signons not accompanied by some other transaction."</span>},
 
124
<a name="l00116"></a>00116   {15507, <span class="stringliteral">"Signon invalid without supporting pin change request"</span>, <span class="stringliteral">"The OFX block associated with the signon does not contain a pin change request and should."</span>},
 
125
<a name="l00117"></a>00117   {15508, <span class="stringliteral">"Transaction not authorized"</span>, <span class="stringliteral">"Current user is not authorized to perform this action on behalf of the &lt;USERID&gt;."</span>},
 
126
<a name="l00118"></a>00118   {16500, <span class="stringliteral">"HTML not allowed"</span>, <span class="stringliteral">"The server does not accept HTML formatting in the request."</span>},
 
127
<a name="l00119"></a>00119   {16501, <span class="stringliteral">"Unknown mail To:"</span>, <span class="stringliteral">"The server was unable to send mail to the specified Internet address."</span>},
 
128
<a name="l00120"></a>00120   {16502, <span class="stringliteral">"Invalid URL"</span>, <span class="stringliteral">"The server could not parse the URL."</span>},
 
129
<a name="l00121"></a>00121   {16503, <span class="stringliteral">"Unable to get URL"</span>, <span class="stringliteral">"The server was unable to retrieve the information at this URL (e.g., an HTTP 400 or 500 series error)."</span>},
 
130
<a name="l00122"></a>00122   {-1, <span class="stringliteral">"Unknown code"</span>, <span class="stringliteral">"The description of this code is unknown to libOfx"</span>}};
 
131
<a name="l00123"></a>00123 
 
132
<a name="l00125"></a>00125 
 
133
<a name="l00128"></a><a class="code" href="fx-0_89_80_2lib_2ofx__error__msg_8hh.html#dac162b52803cc0814b829813ad3a5aa">00128</a> <span class="keyword">const</span> <a class="code" href="structErrorMsg.html" title="An abstraction of an OFX error code sent by an OFX server.">ErrorMsg</a> <a class="code" href="ofx__error__msg_8hh.html#dac162b52803cc0814b829813ad3a5aa" title="Retreive error code descriptions.">find_error_msg</a>(<span class="keywordtype">int</span> param_code)
 
134
<a name="l00129"></a>00129 {
 
135
<a name="l00130"></a>00130   <a class="code" href="structErrorMsg.html" title="An abstraction of an OFX error code sent by an OFX server.">ErrorMsg</a> return_val;
 
136
<a name="l00131"></a>00131   <span class="keywordtype">int</span> i;
 
137
<a name="l00132"></a>00132   <span class="keywordtype">bool</span> code_found=<span class="keyword">false</span>;
 
138
<a name="l00133"></a>00133   
 
139
<a name="l00134"></a>00134   <span class="keywordflow">for</span>(i=0;i&lt;2000&amp;&amp;(code_found==<span class="keyword">false</span>);i++){
 
140
<a name="l00135"></a>00135     <span class="keywordflow">if</span>((error_msgs_list[i].code==param_code)||(error_msgs_list[i].<a class="code" href="structErrorMsg.html#1308f8c77806e8c2a78f59ea17a6401d">code</a>==-1)){
 
141
<a name="l00136"></a>00136       return_val=error_msgs_list[i];
 
142
<a name="l00137"></a>00137       code_found=<span class="keyword">true</span>;
 
143
<a name="l00138"></a>00138     }
 
144
<a name="l00139"></a>00139   }
 
145
<a name="l00140"></a>00140   <span class="keywordflow">return</span> return_val;
 
146
<a name="l00141"></a>00141 };
 
147
<a name="l00142"></a>00142 
 
148
<a name="l00143"></a>00143 <span class="preprocessor">#endif</span>
 
149
</pre></div><hr size="1"><address style="text-align: right;"><small>Generated on Mon Nov 19 20:27:59 2007 for LibOFX by&nbsp;
 
150
<a href="http://www.doxygen.org/index.html">
 
151
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.3 </small></address>
 
152
</body>
 
153
</html>