|
| 1 | +# -*- coding: utf-8 -*- |
| 2 | +# |
| 3 | +# ,---------, ____ _ __ |
| 4 | +# | ,-^-, | / __ )(_) /_______________ _____ ___ |
| 5 | +# | ( O ) | / __ / / __/ ___/ ___/ __ `/_ / / _ \ |
| 6 | +# | / ,--' | / /_/ / / /_/ /__/ / / /_/ / / /_/ __/ |
| 7 | +# +------` /_____/_/\__/\___/_/ \__,_/ /___/\___/ |
| 8 | +# |
| 9 | +# Copyright (C) 2025 Bitcraze AB |
| 10 | +# |
| 11 | +# This program is free software: you can redistribute it and/or modify |
| 12 | +# it under the terms of the GNU General Public License as published by |
| 13 | +# the Free Software Foundation, either version 3 of the License, or |
| 14 | +# (at your option) any later version. |
| 15 | +# |
| 16 | +# This program is distributed in the hope that it will be useful, |
| 17 | +# but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 18 | +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| 19 | +# GNU General Public License for more details. |
| 20 | +# |
| 21 | +# You should have received a copy of the GNU General Public License |
| 22 | +# along with this program. If not, see <http://www.gnu.org/licenses/>. |
| 23 | +"""Crazyflie exception types""" |
| 24 | + |
| 25 | +from cflib2._rust import ( |
| 26 | + AppchannelPacketTooLargeError, |
| 27 | + ConversionError, |
| 28 | + CrazyflieError, |
| 29 | + DisconnectedError, |
| 30 | + InvalidArgumentError, |
| 31 | + InvalidParameterError, |
| 32 | + LinkError, |
| 33 | + LogError, |
| 34 | + MemoryError, |
| 35 | + ParamError, |
| 36 | + ProtocolError, |
| 37 | + ProtocolVersionNotSupportedError, |
| 38 | + SystemError, |
| 39 | + TimeoutError, |
| 40 | + VariableNotFoundError, |
| 41 | +) |
| 42 | + |
| 43 | +__all__ = [ |
| 44 | + "AppchannelPacketTooLargeError", |
| 45 | + "ConversionError", |
| 46 | + "CrazyflieError", |
| 47 | + "DisconnectedError", |
| 48 | + "InvalidArgumentError", |
| 49 | + "InvalidParameterError", |
| 50 | + "LinkError", |
| 51 | + "LogError", |
| 52 | + "MemoryError", |
| 53 | + "ParamError", |
| 54 | + "ProtocolError", |
| 55 | + "ProtocolVersionNotSupportedError", |
| 56 | + "SystemError", |
| 57 | + "TimeoutError", |
| 58 | + "VariableNotFoundError", |
| 59 | +] |
0 commit comments