MCPcopy Create free account
hub / github.com/ccxt/ccxt / throw_exactly_matched_exception

Method throw_exactly_matched_exception

python/ccxt/base/exchange.py:5945–5949  ·  view source on GitHub ↗
(self, exact, string, message)

Source from the content-addressed store, hash-verified

5943 return self.handle_option_and_params(params, methodName, 'marginMode', defaultValue)
5944
5945 def throw_exactly_matched_exception(self, exact, string, message):
5946 if string is None:
5947 return
5948 if string in exact:
5949 raise exact[string](message)
5950
5951 def throw_broadly_matched_exception(self, broad, string, message):
5952 broadKey = self.find_broadly_matched_key(broad, string)

Callers 15

handle_errorsMethod · 0.80
handle_errorsMethod · 0.80
handle_errorsMethod · 0.80
handle_errorsMethod · 0.80
handle_errorsMethod · 0.80
handle_errorsMethod · 0.80
handle_errorsMethod · 0.80
handle_errorsMethod · 0.80
handle_errorsMethod · 0.80
handle_errorsMethod · 0.80
handle_errorsMethod · 0.80
handle_errorsMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected