MCPcopy
hub / github.com/ycm-core/YouCompleteMe / DisplayServerException

Function DisplayServerException

python/ycm/client/base_request.py:303–310  ·  view source on GitHub ↗
( exception, truncate_message = False )

Source from the content-addressed store, hash-verified

301
302
303def DisplayServerException( exception, truncate_message = False ):
304 serialized_exception = str( exception )
305
306 # We ignore the exception about the file already being parsed since it comes
307 # up often and isn't something that's actionable by the user.
308 if 'already being parsed' in serialized_exception:
309 return
310 vimsupport.PostVimMessage( serialized_exception, truncate = truncate_message )
311
312
313def _ToUtf8Json( data ):

Callers 6

ResponseMethod · 0.90
ResponseMethod · 0.90
ResponseMethod · 0.90
_ResponseMethod · 0.90
_RawResponseMethod · 0.90
HandleFutureMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected