libvdo
|
Definitions related to error reporting, e.g. error codes. More...
#include <glib.h>
Go to the source code of this file.
Macros | |
#define | VDO_ERROR (vdo_error_quark()) |
Vdo error domain. | |
Enumerations | |
enum | |
Vdo error codes. More... | |
Functions | |
gboolean | vdo_error_is_expected (GError **error) |
Check if error is expected. More... | |
Definitions related to error reporting, e.g. error codes.
Copyright (C) 2016-2019, Axis Communications AB, Lund
anonymous enum |
Vdo error codes.
gboolean vdo_error_is_expected | ( | GError ** | error | ) |
Check if error is expected.
Expected errors typically occur as a result of force stopping 'com.axis.Vdo1.System'. This class of errors should not be logged as failures, when they occur the recipient is expected to either silently recover or exit informing the user that vdo is currently unavailable.
error | a GError location. |
error
is expected