renamed exceptions to errors and made definition properties non-functions