Skip to content

rpc registry: support for no exceptions #2265

@redrezo

Description

@redrezo

Just tried the registry and came across three try-catch blocks, which is an issue for me since my project does not support exceptions
I removed them and it seems to work for now but there may be issues I dont know about (at least I found no throw in the sources)

It would be nice to be able to use the registry in exception free projects

edit:
Just ran into the issue that I am not able to 'fail' a request without exceptions - would need some kind of std::expected to jsonrpc error translation..

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions