gimp-plugin-set-pdb-error-handler

Sven Neumann <sven@gimp.org>

Description

Sets an error handler for procedure calls.

Help

This procedure changes the way that errors in procedure calls are handled. By default GIMP will raise an error dialog if a procedure call made by a plug-in fails. Using this procedure the plug-in can change this behavior. If the error handler is set to %GIMP_PDB_ERROR_HANDLER_PLUGIN, then the plug-in is responsible for calling 'gimp-get-pdb-error' and handling the error whenever one if its procedure calls fails. It can do this by displaying the error message or by forwarding it in its own return values.


Type

unknown

Parameters

Type Name Description
PF_INT handler Who is responsible for handling procedure call errors { PDB-ERROR-HANDLER-INTERNAL (0), PDB-ERROR-HANDLER-PLUGIN (1) }

Return

None