Files
lightning/contrib/pyln-client/pyln/client/__init__.py
Rusty Russell 77478408f9 pyln: add RpcException for finer method failure control.
Allows caller to set code and exact message to be returned.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Changelog-Added: pyln-client: plugins can now raise RpcException for finer control over error returns.
2020-12-16 12:37:14 +01:00

17 lines
283 B
Python

from .lightning import LightningRpc, RpcError, Millisatoshi
from .plugin import Plugin, monkey_patch, RpcException
__version__ = "0.8.0"
__all__ = [
"LightningRpc",
"Plugin",
"RpcError",
"RpcException",
"Millisatoshi",
"__version__",
"monkey_patch"
]