Purpose
 
 
 
 Select behavior in case of an error.
 
  
  Synopsis
 
 
 int XPRBseterrctrl(int flag) 
 
 
  Argument
 
 
 
  
   | 
     flag 
     | 
     Indicator value for error handling. May be one of:
     
     
      
       | 
         0 
         | 
          no error handling by BCL;
         |  
       | 
         1 
         | 
          program exit at error (default).
         |  | 
 
 
  Return value
 
 
 0 if function executed successfully, 1 otherwise.
 
  Example
 
 
 The following switches to error handling by the user's own program.
 
  
  Further information
 
 
 1. This function controls whether BCL performs error handling. By default, the execution is stopped whenever an error occurs. If the error handling by BCL is disabled, the user needs to perform the checking for errors in his program by testing the return values of all functions or using the callback function
 
XPRBdefcberr. It may be preferable to disable the error handling by BCL if a BCL program is embedded into some larger application or executed under Windows. Callback function
 
XPRBdefcberr can be defined to retrieve the error messages and implement user error handling.
 
 2. This function can be used before BCL has been initialized.
 
 
  Related topics
 
 
                 
                
                    © 2001-2024 Fair Isaac Corporation. All rights reserved. This documentation is the
                    property of Fair Isaac Corporation (“FICO”). Receipt or possession of this documentation does not
                    convey rights to disclose, reproduce, make derivative works, use, or allow others to use it except
                    solely for internal evaluation purposes to determine whether to purchase a license to the software
                    described in this documentation, or as otherwise set forth in a written software license agreement
                    between you and FICO (or a FICO affiliate). Use of this documentation and the software described in
                    it must conform strictly to the foregoing permitted uses, and no other use is permitted.