exception documentation
        
        class PulsarException(BaseException): (source)
Constructor: PulsarException(result)
The exception that wraps the Pulsar error code
| Method | __init__ | 
    Create the Pulsar exception. | 
| Method | __str__ | 
    Convert the exception to string. | 
| Method | error | 
    Returns the Pulsar error code. | 
| Instance Variable | _result | 
    Undocumented | 
Create the Pulsar exception.
| Parameters | |
result:pulsar.Result | The error code of the underlying Pulsar APIs. |