Skip to content

Why do errors thrown generate a -32601? #177

@439bananas

Description

@439bananas

I wonder, in the server, why is it that errors thrown in a command handler function cause that command to return to the client an error of method not found (-32601)? I understand if the server refuses to register it, but surely it should instead throw an error "internal error" (-32603) instead? As a developer, -32603 would make more sense in understanding the error that I am experiencing over -32601, and it would also mean that I end up taking fewer shots every time I try something to resolve this error, it doesn't work out and I end up going down the wrong rabbit hole.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions