Skip to content

error_code enum #17

Closed
Closed
@OlivierLDff

Description

@OlivierLDff

Hi, i started to use your project.
Why isn't there any enum for common error?

enum error_code {
    parse_error = -32700,
    invalid_request = -32600,
    method_not_found = -32601,
    invalid_params = -32602,
    internal_error = -32603,
  };

Have a nice day!

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