MCPcopy Index your code
hub / github.com/googleapis/google-api-python-client / UnexpectedMethodError

Class UnexpectedMethodError

googleapiclient/errors.py:179–187  ·  view source on GitHub ↗

Exception raised by RequestMockBuilder on unexpected calls.

Source from the content-addressed store, hash-verified

177
178
179class UnexpectedMethodError(Error):
180 """Exception raised by RequestMockBuilder on unexpected calls."""
181
182 @util.positional(1)
183 def __init__(self, methodId=None):
184 """Constructor for an UnexpectedMethodError."""
185 super(UnexpectedMethodError, self).__init__(
186 "Received unexpected call %s" % methodId
187 )
188
189
190class UnexpectedBodyError(Error):

Callers 1

__call__Method · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…