+/**
+ * ChimaraError:
+ * @CHIMARA_LOAD_MODULE_ERROR: There was an error opening the plugin containing
+ * the Glk program. The error message from <link
+ * linkend="g-module-error">g_module_error()</link> is appended to the <link
+ * linkend="GError">GError</link> message.
+ * @CHIMARA_NO_GLK_MAIN: The plugin containing the Glk program did not export a
+ * glk_main() function.
+ * @CHIMARA_PLUGIN_NOT_FOUND: An appropriate interpreter plugin for the
+ * autodetected game file type could not be found.
+ * @CHIMARA_PLUGIN_ALREADY_RUNNING: A plugin was opened while there was already
+ * another plugin running in the widget.
+ *
+ * Error codes returned by #ChimaraGlk widgets and subclasses.
+ */
+typedef enum _ChimaraError {
+ CHIMARA_LOAD_MODULE_ERROR,
+ CHIMARA_NO_GLK_MAIN,
+ CHIMARA_PLUGIN_NOT_FOUND,
+ CHIMARA_PLUGIN_ALREADY_RUNNING
+} ChimaraError;
+
+/**
+ * CHIMARA_ERROR:
+ *
+ * The domain of errors raised by Chimara widgets.
+ */
+#define CHIMARA_ERROR chimara_error_quark()
+
+GQuark chimara_error_quark(void);