INNER CODE UNIT · Python

ParseError

smagafurov/fastapi-jsonrpc · fastapi_jsonrpc/__init__.py:390

class ParseError(BaseError):
    """Invalid JSON was received by the server"""
    CODE = -32700
    MESSAGE = "Parse error"


class InvalidRequest(BaseError):
    """The JSON sent is not a valid Request object"""
    CODE = -32600
    MESSAGE = "Invalid Request"
    error_model = ErrorModel


class MethodNotFound(BaseError):
    """The method does not exist / is not available"""
    CODE = -32601
    MESSAGE = "Method not found"

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…