WCSLIB: wcserr Struct Reference

WCSLIB 8.9

Loading...
Searching...
No Matches
Data Fields
wcserr Struct Reference

Error message handling. More...

`#include <wcserr.h>`

## Data Fields
int | status
int | line_no
const char * | function
const char * | file
char * | msg

## Detailed Description

Error message handling.

The wcserr struct contains the numeric error code, a textual description of the error, and information about the function, source file, and line number where the error was generated.

## Field Documentation

## ◆ status

int wcserr::status

Numeric status code associated with the error, the meaning of which depends on the function that generated it. See the documentation for the particular function.

## ◆ line_no

int wcserr::line_no

Line number where the error occurred as given by the __LINE__ preprocessor macro.

const char *function Name of the function where the error occurred.

const char *file Name of the source file where the error occurred as given by the __FILE__ preprocessor macro.

## ◆ function

const char* wcserr::function

## ◆ file

const char* wcserr::file

## ◆ msg

char* wcserr::msg

Informative error message.