001package arez;
002
003import grim.annotations.OmitType;
004
005/**
006 * The types of errors that observers can generated.
007 */
008@OmitType( unless = "arez.enable_observer_error_handlers" )
009public enum ObserverError
010{
011  /**
012   * Exception generated when the reaction is executing.
013   */
014  REACTION_ERROR,
015  /**
016   * Exception generated in OnActivate hook action.
017   */
018  ON_ACTIVATE_ERROR,
019  /**
020   * Exception generated in OnDeactivate hook action.
021   */
022  ON_DEACTIVATE_ERROR
023}