LibOFX: ofx_error_msg.hh File Reference

LibOFX

Data Structures | Functions | Variables
ofx_error_msg.hh File Reference

OFX error code management functionality. More...

Go to the source code of this file.

## Data Structures
struct | ErrorMsg
| An abstraction of an OFX error code sent by an OFX server. More...

## Functions
const ErrorMsg | find_error_msg (int param_code)
| Retrieve error code descriptions. More...

## Variables
const ErrorMsg | error_msgs_list []
| List known error codes. More...

## Detailed Description

OFX error code management functionality.

Definition in file ofx_error_msg.hh.

## Function Documentation

## ◆ find_error_msg()

const ErrorMsg find_error_msg | ( | int | param_code | ) |

Retrieve error code descriptions.

The find_error_msg function will take an ofx error number, and return an ErrorMsg structure with detailed information about the error, including the error name and long description

Definition at line 130 of file ofx_error_msg.hh.

Referenced by OfxStatusContainer::add_attribute().

## Variable Documentation

## ◆ error_msgs_list

const ErrorMsg error_msgs_list[]

List known error codes.

The error_msgs_list table contains all past and present OFX error codes up to the OFX 2.01 specification

Definition at line 34 of file ofx_error_msg.hh.

Referenced by find_error_msg().