Errors
cognite.neat._issues.errors
#
NeatError
dataclass
#
RowError
dataclass
#
Bases: NeatError
, ValueError
In {sheet_name}, row={row}, column={column}: {msg}. [type={type}, input_value={input}]
AuthorizationError
dataclass
#
FileMissingRequiredFieldError
dataclass
#
FileReadError
dataclass
#
FileTypeUnexpectedError
dataclass
#
NeatImportError
dataclass
#
Bases: NeatError
, ImportError
The functionality requires {module}. You can include it
in your neat installation with pip install "cognite-neat[{neat_extra}]"
.
RegexViolationError
dataclass
#
Bases: NeatError
, ValueError
Value, {value} in {location} failed regex, {regex}, validation. Make sure that the name follows the regex pattern.
PropertyDefinitionDuplicatedError
dataclass
#
Bases: PropertyError[T_Identifier]
The {resource_type} with identifier {identifier} has multiple definitions for the property {property_name} with values {property_values}
PropertyDefinitionError
dataclass
#
Bases: PropertyError[T_Identifier]
Invalid property definition for {resource_type} {identifier}.{property_name}: {reason}
PropertyMappingDuplicatedError
dataclass
#
Bases: PropertyError[T_Identifier]
, Generic[T_Identifier, T_ReferenceIdentifier]
The {resource_type} with identifier {identifier}.{property_name} is mapped to by: {mappings}. Ensure that only one {mapping_type} maps to {resource_type} {identifier}.{property_name}
PropertyNotFoundError
dataclass
#
Bases: PropertyError
, Generic[T_Identifier, T_ReferenceIdentifier]
The {resource_type} with identifier {identifier} does not have a property {property_name}
PropertyTypeNotSupportedError
dataclass
#
Bases: PropertyError[T_Identifier]
The {resource_type} with identifier {identifier} has a property {property_name} of unsupported type {property_type}
ReversedConnectionNotFeasibleError
dataclass
#
Bases: PropertyError[T_Identifier]
The {resource_type} {identifier}.{property_name} cannot be created: {reason}
ResourceChangedError
dataclass
#
Bases: ResourceError[T_Identifier]
The {resource_type} with identifier {identifier} has changed{changed}
ResourceConversionError
dataclass
#
Bases: ResourceError
, ValueError
Failed to convert the {resource_type} {identifier} to {target_format}: {reason}
ResourceCreationError
dataclass
#
Bases: ResourceError[T_Identifier]
, ValueError
Failed to create {resource_type} with identifier {identifier}. The error was: {error}
ResourceDuplicatedError
dataclass
#
Bases: ResourceError[T_Identifier]
The {resource_type} with identifier {identifier} is duplicated in {location}
ResourceError
dataclass
#
Bases: NeatError
, Generic[T_Identifier]
, RuntimeError
Base class for resource errors {resource_type} with identifier {identifier}
ResourceMissingIdentifierError
dataclass
#
ResourceNotDefinedError
dataclass
#
Bases: ResourceError[T_Identifier]
The {resource_type} {identifier} is not defined in the {location}
ResourceNotFoundError
dataclass
#
Bases: ResourceError
, Generic[T_Identifier, T_ReferenceIdentifier]
The {resource_type} with identifier '{identifier}' does not exist
ResourceRetrievalError
dataclass
#
Bases: ResourceError[T_Identifier]
Failed to retrieve {resource_type} with identifier {identifier}. The error was: {error}
WorkflowConfigurationNotSetError
dataclass
#
Bases: NeatError
, RuntimeError
The configuration variable '{config_variable}' is not set. Please set the configuration before running the workflow.
WorkFlowMissingDataError
dataclass
#
Bases: NeatError
, ValueError
In the workflow step {step_name} the following data is missing: {missing_data}.