Errors#
- exception ansys.dpf.core.errors.DpfVersionNotSupported(version, msg=None)#
Error raised when the dpf-core/grpc-dpf python features are not supported by the DPF gRPC server version.
- exception ansys.dpf.core.errors.DPFServerNullObject(msg='')#
Error raised when the DPF server cannot find an object.
- exception ansys.dpf.core.errors.DpfValueError(msg='A value that has been set leads to incorrect DPF behavior.')#
Error raised when a specific DPF error value must be defined.
- with_traceback()#
Exception.with_traceback(tb) – set self.__traceback__ to tb and return self.
- exception ansys.dpf.core.errors.InvalidTypeError(data_type, parameter_name)#
Error raised when a parameter has the wrong type.
- with_traceback()#
Exception.with_traceback(tb) – set self.__traceback__ to tb and return self.
- exception ansys.dpf.core.errors.LocationError(msg='Invalid location')#
Error raised when using an invalid location.
- with_traceback()#
Exception.with_traceback(tb) – set self.__traceback__ to tb and return self.
- exception ansys.dpf.core.errors.ComplexPlottingError(msg='\nComplex fields cannot be plotted. Use operators to get the amplitude\nor the result at a defined sweeping phase before plotting.\n')#
Error raised when attempting to plot a field with complex data.
- with_traceback()#
Exception.with_traceback(tb) – set self.__traceback__ to tb and return self.
- exception ansys.dpf.core.errors.FieldContainerPlottingError(msg='"\nThis fields_container contains multiple fields. Only one time-step\nresult can be plotted at a time. Extract a field with\n``fields_container[index]``.\n')#
Error raised when attempting to plot a fields_container containing multiple fields.
- with_traceback()#
Exception.with_traceback(tb) – set self.__traceback__ to tb and return self.
- exception ansys.dpf.core.errors.InvalidANSYSVersionError(msg='')#
Error raised when the Ansys version is invalid.
- with_traceback()#
Exception.with_traceback(tb) – set self.__traceback__ to tb and return self.
- exception ansys.dpf.core.errors.InvalidPortError(msg='')#
Error raised when used an invalid port when starting DPF.
- errno#
POSIX exception code
- filename#
exception filename
- filename2#
second exception filename
- strerror#
exception strerror
- winerror#
Win32 exception code
- with_traceback()#
Exception.with_traceback(tb) – set self.__traceback__ to tb and return self.
- exception ansys.dpf.core.errors.ServerTypeError#
Error raised when using a functionality unavailable for this server type
- with_traceback()#
Exception.with_traceback(tb) – set self.__traceback__ to tb and return self.
- ansys.dpf.core.errors.protect_source_op_not_found(func)#
Capture DPF’s Server exceptions when a source operator is not found and return a more succinct error message.