Coverage for src/fluree_py/query/select/pydantic/error.py: 100%

12 statements  

« prev     ^ index     » next       coverage.py v7.8.0, created at 2025-04-02 03:03 +0000

1class FlureeSelectError(Exception): 

2 """Base exception for Fluree select query building errors.""" 

3 

4 pass 

5 

6 

7class MissingIdFieldError(FlureeSelectError): 

8 """Exception raised when a model is missing a required 'id' field.""" 

9 

10 pass 

11 

12 

13class DeeplyNestedStructureError(FlureeSelectError): 

14 """Exception raised when encountering unsupported deeply nested structures.""" 

15 

16 pass 

17 

18 

19class InvalidFieldTypeError(FlureeSelectError): 

20 """Exception raised when encountering an invalid field type.""" 

21 

22 pass 

23 

24 

25class ModelConfigError(FlureeSelectError): 

26 """Exception raised when there's an issue with the model configuration.""" 

27 

28 pass 

29 

30 

31class TypeProcessingError(FlureeSelectError): 

32 """Exception raised when there's an error processing a type.""" 

33 

34 pass