mirror of
https://github.com/aljazceru/lightning.git
synced 2025-12-18 14:44:22 +01:00
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.
17 lines
283 B
Python
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"
|
|
]
|