hdmf.build.errors module

Module for build error definitions

exception hdmf.build.errors.BuildError(builder, reason)

Bases: Exception

Error raised when building a container into a builder.

Parameters:
  • builder (Builder) – the builder that cannot be built

  • reason (str) – the reason for the error

exception hdmf.build.errors.OrphanContainerBuildError(builder, container)

Bases: BuildError

Parameters:
  • builder (Builder) – the builder containing the broken link

  • container (AbstractContainer) – the container that has no parent

exception hdmf.build.errors.ReferenceTargetNotBuiltError(builder, container)

Bases: BuildError

Parameters:
  • builder (Builder) – the builder containing the reference that cannot be found

  • container (AbstractContainer) – the container that is not built yet

exception hdmf.build.errors.ContainerConfigurationError

Bases: Exception

Error raised when the container class is improperly configured.

exception hdmf.build.errors.ConstructError

Bases: Exception

Error raised when constructing a container from a builder.