Gtk::CssProviderError Class Reference

Exception class for Gtk::CssProvider errors. More...

`#include <gtkmm/cssprovider.h>`

Inherits Error.

## Public Types

enum | Code { FAILED, SYNTAX, IMPORT, NAME, DEPRECATED, UNKNOWN_VALUE }

## Public Member Functions

| CssProviderError (Code error_code, const Glib::ustring& error_message)
| CssProviderError (GError* gobject)
Code | code () const

## Detailed Description

Exception class for Gtk::CssProvider errors.

Since gtkmm 3.16:

## Member Enumeration Documentation

## Code

enum Gtk::CssProviderError::Code

Error codes for GTK_CSS_PROVIDER_ERROR.

Enumerator
FAILED | Failed.
SYNTAX | Syntax error.
IMPORT | Import error.
NAME | Name error.
DEPRECATED | Deprecation error.
UNKNOWN_VALUE | Unknown value.

## Constructor & Destructor Documentation

## CssProviderError() [1/2]

Gtk::CssProviderError::CssProviderError | ( | Code | error_code,
|  | const Glib::ustring & | error_message
| ) |  |

## CssProviderError() [2/2]

Gtk::CssProviderError::CssProviderError | ( | GError * | gobject | ) |

explicit

## Member Function Documentation

## code()

Code Gtk::CssProviderError::code | ( |  | ) | const