Public Member Functions | Private Attributes | List of all members
mox.UnknownMethodCallError Class Reference
Inheritance diagram for mox.UnknownMethodCallError:
Inheritance graph
[legend]

Public Member Functions

def __init__ (self, unknown_method_name)
 
def __init__ (self, unknown_method_name)
 
def __str__ (self)
 
def __str__ (self)
 

Private Attributes

 _unknown_method_name
 

Detailed Description

Raised if an unknown method is requested of the mock object.

Definition at line 130 of file bloaty/third_party/protobuf/python/mox.py.

Constructor & Destructor Documentation

◆ __init__() [1/2]

def mox.UnknownMethodCallError.__init__ (   self,
  unknown_method_name 
)
Init exception.

Args:
  # unknown_method_name: Method call that is not part of the mocked class's
  #   public interface.
  unknown_method_name: str

Definition at line 133 of file bloaty/third_party/protobuf/python/mox.py.

◆ __init__() [2/2]

def mox.UnknownMethodCallError.__init__ (   self,
  unknown_method_name 
)
Init exception.

Args:
  # unknown_method_name: Method call that is not part of the mocked class's
  #   public interface.
  unknown_method_name: str

Definition at line 133 of file protobuf/python/mox.py.

Member Function Documentation

◆ __str__() [1/2]

def mox.UnknownMethodCallError.__str__ (   self)

Definition at line 145 of file bloaty/third_party/protobuf/python/mox.py.

◆ __str__() [2/2]

def mox.UnknownMethodCallError.__str__ (   self)

Definition at line 145 of file protobuf/python/mox.py.

Member Data Documentation

◆ _unknown_method_name

mox.UnknownMethodCallError._unknown_method_name
private

Definition at line 143 of file bloaty/third_party/protobuf/python/mox.py.


The documentation for this class was generated from the following file:


grpc
Author(s):
autogenerated on Fri May 16 2025 03:03:41