ErrorCodes#

class ansys.pyensight.core.libuserd.ErrorCodes(value, names=None, *, module=None, qualname=None, type=None, start=1, boundary=None)#

Methods

ErrorCodes.conjugate

Returns self, the complex conjugate of any int.

ErrorCodes.bit_length(/)

Number of bits necessary to represent self in binary.

ErrorCodes.bit_count(/)

Number of ones in the binary representation of the absolute value of self.

ErrorCodes.to_bytes(/[, length, byteorder, ...])

Return an array of bytes representing an integer.

ErrorCodes.from_bytes(/, bytes[, byteorder, ...])

Return the integer represented by the given array of bytes.

ErrorCodes.as_integer_ratio(/)

Return integer ratio.

Attributes

ErrorCodes.real

the real part of a complex number

ErrorCodes.imag

the imaginary part of a complex number

ErrorCodes.numerator

the numerator of a rational number in lowest terms

ErrorCodes.denominator

the denominator of a rational number in lowest terms

ErrorCodes.SUCCESS

ErrorCodes.UNAVAILABLE

ErrorCodes.IGNORED_AFTER_INITIALIZE

ErrorCodes.OUT_OF_MEMORY

ErrorCodes.IO

ErrorCodes.UNIMPLEMENTED

ErrorCodes.NOT_FOUND

ErrorCodes.UNKNOWN

ErrorCodes.SINGLE_READER_ALLOWED