Error codes

Error codeDescriptionNotes
JEWCAL_ERROR_OKOK 
JEWCAL_ERROR_NULL_POINTERNULL Pointer was passed 
JEWCAL_ERROR_INVALID_STRUCT_SIZEInvalid structure size 
JEWCAL_ERROR_BUFFERTOOSMALLBuffer too small 
JEWCAL_ERROR_INVALID_FLAGSInvalid flags passed 
JEWCAL_ERROR_FILE_NOT_FOUNDFile not foundsince version 1.1, build 3
JEWCAL_ERROR_INVALID_GREGORIAN_DAYInvalid Gregorian day was passed 
JEWCAL_ERROR_INVALID_GREGORIAN_MONTHInvalid Gregorian month was passed 
JEWCAL_ERROR_INVALID_GREGORIAN_YEARInvalid Gregorian year was passed 
JEWCAL_ERROR_INVALID_HEBREW_DAYInvalid Hebrew day was passedsince Version 1.1
JEWCAL_ERROR_INVALID_HEBREW_MONTHInvalid Hebrew month was passed 
JEWCAL_ERROR_INVALID_HEBREW_YEARInvalid Hebrew year was passed 
JEWCAL_ERROR_NO_SHABBATPassed date is not a shabbat 
JEWCAL_ERROR_INVALID_DSTInvalid Daylight Savings Time structure 
JEWCAL_ERROR_NO_OMER_COUNTNo Omer countsince Version 1.1, build 2
JEWCAL_ERROR_CITY_NOT_FOUNDCity was not found 
JEWCAL_ERROR_INVALID_LATITUDEInvalid latitude was passed 
JEWCAL_ERROR_INVALID_LONGITUDEInvalid longitude was passed 
JEWCAL_ERROR_INVALID_TIMEZONEInvalid timezone was passed 
JEWCAL_ERROR_CALCULATE_ZMANIM_FAILEDCalculation string is invalid 
JEWCAL_ERROR_PARASHGETREADINGS_FAILEDInternal function ParashGetReadings failed 
JEWCAL_ERROR_NO_ASTRONOMICAL_EVENTAstronomical event does not occur