error.py
Go to the documentation of this file.
1 """Error types for tellopy"""
2 
3 
4 class TelloError(Exception):
5  """Base class for all Tello errors"""
6 
7  def __init__(self, msg):
8  self.msg = msg
9 
10  def __str__(self):
11  return '%s::%s' % (self.__class__.__name__, self.msg)
12 
13  def __repr__(self):
14  return self.__str__()


tello_driver
Author(s): Jordy van Appeven
autogenerated on Wed May 13 2020 03:34:54