Main Page
Namespaces
Classes
Files
File List
File Members
src
TelloPy
tellopy
_internal
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__
()
tellopy._internal.error.TelloError.__str__
def __str__(self)
Definition:
error.py:10
tellopy._internal.error.TelloError.__init__
def __init__(self, msg)
Definition:
error.py:7
tellopy._internal.error.TelloError.__repr__
def __repr__(self)
Definition:
error.py:13
tellopy._internal.error.TelloError.msg
msg
Definition:
error.py:8
tellopy._internal.error.TelloError
Definition:
error.py:4
tello_driver
Author(s): Jordy van Appeven
autogenerated on Wed May 13 2020 03:34:54