ranjg.error package
Module contents
This package provides errors raised in ranjg modules.
- exception ranjg.error.GenerateConflictError(message: str, context: ranjg._context.GenerationContext)
 Bases:
ranjg.error._generate_error.GenerateErrorConflict errors in the schema during generation
This error raises if schema conflict is occurred in generation. In other words, when no value satisfy the schema, this error is raised. However, if a conflict is discovered during the configuration of a Factory, a SchemaConflictError will be raised.
- exception ranjg.error.GenerateError(message: str, context: ranjg._context.GenerationContext)
 Bases:
ExceptionErrors during randomly generation.
- exception ranjg.error.InvalidSchemaError(validation_error_list: List[jsonschema.exceptions.ValidationError])
 Bases:
ExceptionSchema error class.
This error raises if the schema is invalid.
When the schema is valid but no value satisfy it (exp:
schema.minimum > schema.maximum),SchemaConflictErroris raised.
- exception ranjg.error.OptionsFileIOError
 Bases:
ExceptionOptions file error class.
This error raises if loading options file is failed.
- exception ranjg.error.SchemaConflictError(message: str, context: ranjg._context.SchemaContext)
 Bases:
ExceptionConflict errors in the schema.
This error raises if the schema has conflict. In other words, when no value satisfy the schema, this error is raised.
When the schema is invalid (exp:
schema.typeis illegal string),InvalidSchemaErroris raised.
- exception ranjg.error.SchemaFileIOError
 Bases:
ExceptionSchema file error class.
This error raises if loading schema file is failed.