Skip to content

Interface Errors

Interface errors represent failures surfaced at the public API boundary. DataDesignerGenerationError wraps dataset generation failures from create() and preview(), and DataDesignerProfilingError wraps profiling failures from those methods. These errors inherit from data_designer.errors.DataDesignerError, allowing callers to catch either specific interface failures or the project-wide base error type.

The package-level data_designer.interface export lazily exposes DataDesignerGenerationError and DataDesignerProfilingError. InvalidBufferValueError is defined in this module.

DataDesignerGenerationError

Bases: DataDesignerError

Raised for errors related to a Data Designer dataset generation.

DataDesignerProfilingError

Bases: DataDesignerError

Raised for errors related to a Data Designer dataset profiling.

InvalidBufferValueError

Bases: DataDesignerError

Raised for errors related to an invalid buffer value.