INNER CODE UNIT · Python
APBSError
Electrostatics/apbs · tools/python/main.py:143
class APBSError(Exception):
""" APBSError class
The APBSError class inherits off the Exception module and returns
a string defining the nature of the error.
"""
def __init__(self, value):
"""
Initialize with error message
Parameters
value: Error Message (string)
"""
self.value = value
def __str__(self):
"""