exceptions.py
Go to the documentation of this file.
00001 #!/usr/bin/env python
00002 #
00003 # License: BSD
00004 #   https://raw.github.com/robotics-in-concert/rocon_multimaster/license/LICENSE
00005 #
00006 
00007 '''
00008   Core exceptions raised by the gateway.
00009 '''
00010 ##############################################################################
00011 # Exceptions
00012 ##############################################################################
00013 
00014 
00015 class GatewayError(Exception):
00016     pass
00017 
00018 
00019 # Raised when information for a specific gateway id is requested, but that
00020 # gateway is not connected to the hub
00021 class GatewayUnavailableError(Exception):
00022     pass
00023 
00024 
00025 # Raised when a connection type of the kind gateway_msgs.ConnectionType is
00026 # invalid
00027 class ConnectionTypeError(GatewayError):
00028     pass
00029 
00030 
00031 # Raised whenever any of the samples falls over in runtime
00032 class GatewaySampleRuntimeError(Exception):
00033     pass


rocon_gateway
Author(s): Daniel Stonier , Jihoon Lee , Piyush Khandelwal
autogenerated on Sat Jun 8 2019 18:48:44