"""Generic error messages.""" ERROR_CODE_AUTHORIZATION = 'authorization_error' ERROR_CODE_BAD_GRASS_REQUEST = 'bad_grass_request_error' ERROR_CODE_NOT_FOUND = 'not_found' ERROR_MESSAGE_MISSING_GRASS_HEADERS = 'Missing Grass Headers' ERROR_MESSAGE_INCOMPLETE_GRASS_HEADERS = 'Incomplete Grass Headers' ERROR_MESSAGE_INVALID_GRASS_ACCOUNT_TYPE = 'Invalid Grass Account Type' ERROR_MESSAGE_FORBIDDEN_USER = 'User is forbidden' ERROR_INVALID_LIMIT_OFFSET = 'Limit and offset must be valid integers' ERROR_UNKNOWN_CURRENCY = 'Currency code not recognized: {code}' ERROR_DELETE_WORKSHEET_ADJUSTMENTS = 'As StatementPeriodAdjustmentFile {} is not deleted, the associated adjustments cannot also be deleted.' ERROR_INVALID_ACCOUNT_IDS = 'Invalid account ids are passed.' ERROR_INVALID_CONTRACT_IDS = 'Invalid contract ids are passed.' ERROR_WORKSHEET_ADJUSTMENTS_NOT_FOUND = ( 'One or more worksheet adjustments do not exist: {}.' ) ERROR_WORKSHEET_ADJUSTMENTS_MULTIPLE_FILES = ( 'All worksheet adjustments in a request must belong to the same ' 'statement period adjustment file.' ) ERROR_FILE_SOFT_DELETED = ( 'StatementPeriodAdjustmentFile {} is deleted; its entries cannot be modified.' ) ERROR_BATCH_APPLIED = ( 'StatementPeriodAdjustmentFile {} has been applied; its entries cannot be modified.' ) ERROR_ENTRY_APPLIED = ( 'One or more worksheet adjustments have been applied and cannot be deleted: {}.' ) ERROR_WORKSHEET_ADJUSTMENTS_ALREADY_DELETED = ( 'One or more worksheet adjustments are already deleted: {}.' ) ERROR_WORKSHEET_ADJUSTMENTS_NOT_DELETED = ( 'One or more worksheet adjustments are not deleted and cannot be restored: {}.' )