libcss
Loading...
Searching...
No Matches
Typedefs | Enumerations | Functions
errors.h File Reference
#include <stddef.h>

Go to the source code of this file.

Typedefs

typedef enum css_error css_error
 

Enumerations

enum  css_error {
  CSS_OK = 0 , CSS_NOMEM = 1 , CSS_BADPARM = 2 , CSS_INVALID = 3 ,
  CSS_FILENOTFOUND = 4 , CSS_NEEDDATA = 5 , CSS_BADCHARSET = 6 , CSS_EOF = 7 ,
  CSS_IMPORTS_PENDING = 8 , CSS_PROPERTY_NOT_SET = 9
}
 

Functions

const char * css_error_to_string (css_error error)
 

Typedef Documentation

◆ css_error

typedef enum css_error css_error

Enumeration Type Documentation

◆ css_error

enum css_error
Enumerator
CSS_OK 
CSS_NOMEM 
CSS_BADPARM 
CSS_INVALID 
CSS_FILENOTFOUND 
CSS_NEEDDATA 
CSS_BADCHARSET 
CSS_EOF 
CSS_IMPORTS_PENDING 
CSS_PROPERTY_NOT_SET 

Function Documentation

◆ css_error_to_string()

const char * css_error_to_string ( css_error  error)

Convert a LibCSS error code to a string

Parameters
errorThe error code to convert
Returns
Pointer to string representation of error, or NULL if unknown.