bw_processing.errors ==================== .. py:module:: bw_processing.errors Exceptions ---------- .. autoapisummary:: bw_processing.errors.BrightwayProcessingError bw_processing.errors.Closed bw_processing.errors.FileIntegrityError bw_processing.errors.InconsistentFields bw_processing.errors.InvalidMimetype bw_processing.errors.InvalidName bw_processing.errors.LengthMismatch bw_processing.errors.NonUnique bw_processing.errors.PotentialInconsistency bw_processing.errors.ShapeMismatch bw_processing.errors.WrongDatatype Module Contents --------------- .. py:exception:: BrightwayProcessingError Bases: :py:obj:`Exception` Common base class for all non-exit exceptions. Initialize self. See help(type(self)) for accurate signature. .. py:exception:: Closed Bases: :py:obj:`BrightwayProcessingError` Datapackage closed, can't be written to anymore. Initialize self. See help(type(self)) for accurate signature. .. py:exception:: FileIntegrityError Bases: :py:obj:`BrightwayProcessingError` MD5 hash does not agree with file contents Initialize self. See help(type(self)) for accurate signature. .. py:exception:: InconsistentFields Bases: :py:obj:`BrightwayProcessingError` Given fields not the same for each element Initialize self. See help(type(self)) for accurate signature. .. py:exception:: InvalidMimetype Bases: :py:obj:`BrightwayProcessingError` Provided mimetype missing or not understood Initialize self. See help(type(self)) for accurate signature. .. py:exception:: InvalidName Bases: :py:obj:`BrightwayProcessingError` Name fails datapackage requirements: A short url-usable (and preferably human-readable) name of the package. This MUST be lower-case and contain only alphanumeric characters along with ".", "_" or "-" characters. Initialize self. See help(type(self)) for accurate signature. .. py:exception:: LengthMismatch Bases: :py:obj:`BrightwayProcessingError` Number of resources doesn't match the number of data objects Initialize self. See help(type(self)) for accurate signature. .. py:exception:: NonUnique Bases: :py:obj:`BrightwayProcessingError` Nonunique elements when uniqueness is required Initialize self. See help(type(self)) for accurate signature. .. py:exception:: PotentialInconsistency Bases: :py:obj:`BrightwayProcessingError` Given operation could cause inconsistent data Initialize self. See help(type(self)) for accurate signature. .. py:exception:: ShapeMismatch Bases: :py:obj:`BrightwayProcessingError` Array shapes in a resource group are not consistent Initialize self. See help(type(self)) for accurate signature. .. py:exception:: WrongDatatype Bases: :py:obj:`BrightwayProcessingError` Wrong type of data written to a resource Initialize self. See help(type(self)) for accurate signature.