Packages
libical-glib
ICal
Error
ALLOCATION_ERROR
BADARG_ERROR
FILE_ERROR
INTERNAL_ERROR
MALFORMEDDATA_ERROR
NEWFAILED_ERROR
NO_ERROR
PARSE_ERROR
UNIMPLEMENTED_ERROR
UNKNOWN_ERROR
USAGE_ERROR
clear_errno
crash_here
perror
restore
stop_here
supress
get_error_state
set_errno
set_error_state
strerror
Error
Description:
[
CCode
( cname =
"ICalErrorEnum"
, cprefix =
"I_CAL_"
, has_type_id =
false
) ]
[
GIR
( name =
"ErrorEnum"
) ]
public
enum
Error
Namespace:
ICal
Package:
libical-glib
Content:
Enum values:
ALLOCATION_ERROR
BADARG_ERROR
FILE_ERROR
INTERNAL_ERROR
MALFORMEDDATA_ERROR
NEWFAILED_ERROR
NO_ERROR
PARSE_ERROR
UNIMPLEMENTED_ERROR
UNKNOWN_ERROR
USAGE_ERROR
Static methods:
public
static
void
clear_errno
()
public
static
void
crash_here
()
Shout out the errors to the compiler.
public
static
unowned
string
perror
()
Gets the
Error
in the string representation.
public
static
void
restore
(
string
error,
ErrorState
es)
Restores the error to specified state.
public
static
void
stop_here
()
public
static
ErrorState
supress
(
string
error)
Suppresses the error.
Methods:
public
ErrorState
get_error_state
()
Gets the state of an error.
public
void
set_errno
()
Sets the errno.
public
void
set_error_state
(
ErrorState
state)
Sets the state to the corresponding error in the library.
public
unowned
string
strerror
()
Translates the
Error
to the string representation.