traci.exceptions | index /home/delphi/gcc/sumo/tools/traci/exceptions.py

`# -*- coding: utf-8 -*-
# Eclipse SUMO, Simulation of Urban MObility; see https://eclipse.org/sumo
# Copyright (C) 2008-2022 German Aerospace Center (DLR) and others.
# This program and the accompanying materials are made available under the
# terms of the Eclipse Public License 2.0 which is available at
# https://www.eclipse.org/legal/epl-2.0/
# This Source Code may also be made available under the following Secondary
# Licenses when the conditions for such availability set forth in the Eclipse
# Public License 2.0 are satisfied: GNU General Public License, version 2
# or later which is available at
# https://www.gnu.org/licenses/old-licenses/gpl-2.0-standalone.html
# SPDX-License-Identifier: EPL-2.0 OR GPL-2.0-or-later`

Modules
`` |  |
functools | warnings |  |

Classes
`` |  | builtins.Exception(builtins.BaseException) FatalTraCIError TraCIException
class FatalTraCIError(builtins.Exception)
`` | `FatalTraCIError(desc) Exception class for all TraCI errors which do not allow for continuation`
| Method resolution order: FatalTraCIError builtins.Exception builtins.BaseException builtins.object Methods defined here: __init__(self, desc) `Initialize self. See help(type(self)) for accurate signature.` Data descriptors defined here: __weakref__ `list of weak references to the object (if defined)` Static methods inherited from builtins.Exception: __new__(*args, **kwargs) from builtins.type `Create and return a new object. See help(type) for accurate signature.` Methods inherited from builtins.BaseException: __delattr__(self, name, /) `Implement delattr(self, name).` __getattribute__(self, name, /) `Return getattr(self, name).` __reduce__(...) `Helper for pickle.` __repr__(self, /) `Return repr(self).` __setattr__(self, name, value, /) `Implement setattr(self, name, value).` __setstate__(...) __str__(self, /) `Return str(self).` with_traceback(...) `Exception.with_traceback(tb) -- set self.__traceback__ to tb and return self.` Data descriptors inherited from builtins.BaseException: __cause__ `exception cause` __context__ `exception context` __dict__ __suppress_context__ __traceback__ args
class TraCIException(builtins.Exception)
`` | `TraCIException(desc, command=None, errorType=None) Exception class for all TraCI errors which keep the connection intact`
| Method resolution order: TraCIException builtins.Exception builtins.BaseException builtins.object Methods defined here: __init__(self, desc, command=None, errorType=None) `Initialize self. See help(type(self)) for accurate signature.` getCommand(self) getType(self) Data descriptors defined here: __weakref__ `list of weak references to the object (if defined)` Static methods inherited from builtins.Exception: __new__(*args, **kwargs) from builtins.type `Create and return a new object. See help(type) for accurate signature.` Methods inherited from builtins.BaseException: __delattr__(self, name, /) `Implement delattr(self, name).` __getattribute__(self, name, /) `Return getattr(self, name).` __reduce__(...) `Helper for pickle.` __repr__(self, /) `Return repr(self).` __setattr__(self, name, value, /) `Implement setattr(self, name, value).` __setstate__(...) __str__(self, /) `Return str(self).` with_traceback(...) `Exception.with_traceback(tb) -- set self.__traceback__ to tb and return self.` Data descriptors inherited from builtins.BaseException: __cause__ `exception cause` __context__ `exception context` __dict__ __suppress_context__ __traceback__ args

Functions
`` |  | deprecated(old_name=None) `This is a decorator which can be used to mark functions as deprecated. It will result in a warning being emitted when the function is used.`

Data
`` |  | absolute_import = _Feature((2, 5, 0, 'alpha', 1), (3, 0, 0, 'alpha', 0), 262144) print_function = _Feature((2, 6, 0, 'alpha', 2), (3, 0, 0, 'alpha', 0), 1048576)