Previous topic

gdsii.record — GDSII record I/O

This Page

gdsii.exceptions — GDSII exceptions

This module contains exception classes used in python-gdsii.

exception gdsii.exceptions.FormatError

Bases: exceptions.Exception

Base class for all GDSII exceptions.

exception gdsii.exceptions.EndOfFileError

Bases: gdsii.exceptions.FormatError

Raised on unexpected end of file.

exception gdsii.exceptions.IncorrectDataSize

Bases: gdsii.exceptions.FormatError

Raised if data size is incorrect.

exception gdsii.exceptions.UnsupportedTagType

Bases: gdsii.exceptions.FormatError

Raised on unsupported tag type.

exception gdsii.exceptions.MissingRecord

Bases: gdsii.exceptions.FormatError

Raised when required record is not found.

exception gdsii.exceptions.DataSizeError

Bases: gdsii.exceptions.FormatError

Raised when data size is incorrect for a given record.