Expand description
§Greenlight Error Module
This module provides a comprehensive error handling system for greenlight. It features a generic error type that can be customized with module- or crate-specific error codes, while maintaining compatibility with gRPC status codes and providing rich error context.
Structs§
- Error
- Generic error type that combines error codes with rich error context.
- Grpc
Error Details - JSON structure for transmitting error details over gRPC.
- Grpc
Error Info - Extracted error information from a gRPC status.
- Parsing
Error
Traits§
- Error
Code - Trait for defining module-specific error codes.
- Error
Status Conversion Ext - Extension trait for mapping error codes to gRPC status codes.
- RpcErr
Conversion
Type Aliases§
- ClnRpc
Error - Type alias for Core Lightning RPC error codes.