php-internal-docs 8.4.8
Unofficial docs for php/php-src
Loading...
Searching...
No Matches
intl_error.c File Reference
#include <php.h>
#include <zend_exceptions.h>
#include "php_intl.h"
#include "intl_error.h"
#include "intl_convert.h"

Go to the source code of this file.

Functions

intl_errorintl_error_create (void)
 
void intl_error_init (intl_error *err)
 
void intl_error_reset (intl_error *err)
 
void intl_error_set_custom_msg (intl_error *err, const char *msg, int copyMsg)
 
zend_stringintl_error_get_message (intl_error *err)
 
void intl_error_set_code (intl_error *err, UErrorCode err_code)
 
UErrorCode intl_error_get_code (intl_error *err)
 
void intl_error_set (intl_error *err, UErrorCode code, const char *msg, int copyMsg)
 
void intl_errors_set (intl_error *err, UErrorCode code, const char *msg, int copyMsg)
 
void intl_errors_reset (intl_error *err)
 
void intl_errors_set_custom_msg (intl_error *err, const char *msg, int copyMsg)
 
void intl_errors_set_code (intl_error *err, UErrorCode err_code)
 
smart_str intl_parse_error_to_string (UParseError *pe)
 

Variables

zend_class_entryIntlException_ce_ptr
 

Function Documentation

◆ intl_error_create()

intl_error * intl_error_create ( void )

Definition at line 55 of file intl_error.c.

◆ intl_error_get_code()

UErrorCode intl_error_get_code ( intl_error * err)

Definition at line 151 of file intl_error.c.

◆ intl_error_get_message()

zend_string * intl_error_get_message ( intl_error * err)

Definition at line 116 of file intl_error.c.

◆ intl_error_init()

void intl_error_init ( intl_error * err)

Definition at line 66 of file intl_error.c.

◆ intl_error_reset()

void intl_error_reset ( intl_error * err)

Definition at line 78 of file intl_error.c.

◆ intl_error_set()

void intl_error_set ( intl_error * err,
UErrorCode code,
const char * msg,
int copyMsg )

Definition at line 161 of file intl_error.c.

◆ intl_error_set_code()

void intl_error_set_code ( intl_error * err,
UErrorCode err_code )

Definition at line 141 of file intl_error.c.

◆ intl_error_set_custom_msg()

void intl_error_set_custom_msg ( intl_error * err,
const char * msg,
int copyMsg )

Definition at line 90 of file intl_error.c.

◆ intl_errors_reset()

void intl_errors_reset ( intl_error * err)

Definition at line 177 of file intl_error.c.

◆ intl_errors_set()

void intl_errors_set ( intl_error * err,
UErrorCode code,
const char * msg,
int copyMsg )

Definition at line 169 of file intl_error.c.

◆ intl_errors_set_code()

void intl_errors_set_code ( intl_error * err,
UErrorCode err_code )

Definition at line 197 of file intl_error.c.

◆ intl_errors_set_custom_msg()

void intl_errors_set_custom_msg ( intl_error * err,
const char * msg,
int copyMsg )

Definition at line 187 of file intl_error.c.

◆ intl_parse_error_to_string()

smart_str intl_parse_error_to_string ( UParseError * pe)

Definition at line 206 of file intl_error.c.

Variable Documentation

◆ IntlException_ce_ptr

zend_class_entry* IntlException_ce_ptr

Definition at line 30 of file intl_error.c.