global enum RecordAlertErrorType {
APEX_EXECUTION_ERROR,
API_EXCEPTION,
DATABASE_FETCH_ERROR,
EXPRESSION_SET_EXECUTION_EXCEPTION,
FAILURE,
INSUFFICIENT_ACCESS_ON_RECORD_ALERT,
INVALID_RECORD_ALERT_TEMPLATE,
INVALID_RECORD_ID,
INVALID_SNOOZE_UNTIL_DATE,
NO_DATASOURCE_DEFINED,
PARTIAL_SUCCESS,
SUCCESS
}