
get_event_handler(+Event, ?PredSpec, ?Module)

   Returns the event handler for event/error Event and its home module Module.

Arguments
   +Event              Atom or Integer.
   ?PredSpec           Term which unifies with atom/integer.
   ?Module             Atom or variable.

Type
   Event Handling

Description
   Given the event name/error number Event, PredSpec is unified with the specifiation
   (i.e.  a term of the form name/arity) of the current handler for 
   Event; Module is unified with its home module.


   The events which exist are user defined; the errors which exist are
   implementation defined. 





Resatisfiable
      No.

Fail Conditions
      Fails if Event is not an event.
 Fails if PredSpec or Module do not unify with the
	specification of the
   current event handler for Event.



Exceptions
     4 --- Event is not instantiated.
     5 --- Event is not an atom nor integer.
     5 --- PredSpec is neither a variable nor of the form Atom/Integer.

See Also
   set_event_handler / 2, event / 1
