ewebkit2
1.11.0
Web engine based on WebKit2 for EFL
|
Describes the Web Error API. More...
#include <Eina.h>
Go to the source code of this file.
Typedefs | |
typedef struct EwkError | Ewk_Error |
Enumerations | |
enum | Ewk_Error_Type { EWK_ERROR_TYPE_NONE, EWK_ERROR_TYPE_INTERNAL, EWK_ERROR_TYPE_NETWORK, EWK_ERROR_TYPE_POLICY, EWK_ERROR_TYPE_PLUGIN, EWK_ERROR_TYPE_DOWNLOAD, EWK_ERROR_TYPE_PRINT } |
Creates a type name for Ewk_Error_Type. | |
Functions | |
EAPI Ewk_Error_Type | ewk_error_type_get (const Ewk_Error *error) |
EAPI const char * | ewk_error_url_get (const Ewk_Error *error) |
EAPI int | ewk_error_code_get (const Ewk_Error *error) |
EAPI const char * | ewk_error_description_get (const Ewk_Error *error) |
EAPI Eina_Bool | ewk_error_cancellation_get (const Ewk_Error *error) |
Describes the Web Error API.
typedef struct EwkError Ewk_Error |
Creates a type name for Ewk_Error.
EAPI Eina_Bool ewk_error_cancellation_get | ( | const Ewk_Error * | error) |
Query if error should be treated as a cancellation.
error | error object to query. |
EINA_TRUE
if this error should be treated as a cancellation, EINA_FALSE
otherwise EAPI int ewk_error_code_get | ( | const Ewk_Error * | error) |
Query HTTP error code.
error | error object to query. |
EAPI const char* ewk_error_description_get | ( | const Ewk_Error * | error) |
Query description for this error.
error | error object to query. |
NULL
. This pointer is guaranteed to be eina_stringshare, so whenever possible save yourself some cpu cycles and use eina_stringshare_ref() instead of eina_stringshare_add() or strdup(). EAPI Ewk_Error_Type ewk_error_type_get | ( | const Ewk_Error * | error) |
Query type for this error.
error | error object to query. |
NULL
. This pointer is guaranteed to be eina_stringshare, so whenever possible save yourself some cpu cycles and use eina_stringshare_ref() instead of eina_stringshare_add() or strdup(). EAPI const char* ewk_error_url_get | ( | const Ewk_Error * | error) |
Query failing URL for this error.
URL that failed loading.
error | error object to query. |
NULL
. This pointer is guaranteed to be eina_stringshare, so whenever possible save yourself some cpu cycles and use eina_stringshare_ref() instead of eina_stringshare_add() or strdup().