# Stubs for jsonrpc.tests.test_jsonrpc_errors (Python 3)
#
# NOTE: This dynamically typed stub was automatically generated by stubgen.

import unittest2 as unittest
from ..exceptions import JSONRPCDispatchException, JSONRPCError, JSONRPCInternalError, JSONRPCInvalidParams, JSONRPCInvalidRequest, JSONRPCMethodNotFound, JSONRPCParseError, JSONRPCServerError
from typing import Any

class TestJSONRPCError(unittest.TestCase):
    error_params: Any = ...
    def setUp(self) -> None: ...
    def test_correct_init(self) -> None: ...
    def test_validation_incorrect_no_parameters(self) -> None: ...
    def test_code_validation_int(self) -> None: ...
    def test_code_validation_no_code(self) -> None: ...
    def test_code_validation_str(self) -> None: ...
    def test_message_validation_str(self) -> None: ...
    def test_message_validation_none(self) -> None: ...
    def test_message_validation_int(self) -> None: ...
    def test_data_validation_none(self) -> None: ...
    def test_data_validation(self) -> None: ...
    def test_json(self) -> None: ...
    def test_from_json(self) -> None: ...

class TestJSONRPCParseError(unittest.TestCase):
    def test_code_message(self) -> None: ...

class TestJSONRPCServerError(unittest.TestCase):
    def test_code_message(self) -> None: ...

class TestJSONRPCInternalError(unittest.TestCase):
    def test_code_message(self) -> None: ...

class TestJSONRPCInvalidParams(unittest.TestCase):
    def test_code_message(self) -> None: ...

class TestJSONRPCInvalidRequest(unittest.TestCase):
    def test_code_message(self) -> None: ...

class TestJSONRPCMethodNotFound(unittest.TestCase):
    def test_code_message(self) -> None: ...

class TestJSONRPCDispatchException(unittest.TestCase):
    def test_code_message(self) -> None: ...
