DEFINING COMMON ERROR CODES