P2PoolAPIError
              Bases: Exception
Exception raised when a general error occurs with the P2Pool API.
Attributes:
| Name | Type | Description | 
|---|---|---|
| error | str | Specific error message. | 
| traceback | str | Traceback of the error. | 
| message | str | Error message explaining the API issue. | 
Source code in p2pool/exceptions.py
                
            __init__(error=None, traceback=None, message='An error occurred with the P2Pool API:')
    Initialize the API error.
Parameters:
| Name | Type | Description | Default | 
|---|---|---|---|
| error | str | Specific error message. Defaults to None. | None | 
| traceback | str | Traceback of the error. Defaults to None. | None | 
| message | str | Error message explaining the API issue. Defaults to a generic API error message. | 'An error occurred with the P2Pool API:' |