forked from f1xpl/aasdk
-
Notifications
You must be signed in to change notification settings - Fork 47
ErrorCode_8hpp
github-actions edited this page Mar 15, 2026
·
2 revisions
title: include/aasdk/Error/ErrorCode.hpp
| Name |
|---|
| aasdk |
| aasdk::error |
// This file is part of aasdk library project.
// Copyright (C) 2018 f1x.studio (Michal Szwaj)
// Copyright (C) 2024 CubeOne (Simon Dean - simon.dean@cubeone.co.uk)
// Copyright (C) 2026 OpenCarDev (Matthew Hilton - matthilton2005@gmail.com)
//
// aasdk is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation; either version 3 of the License, or
// (at your option) any later version.
//
// aasdk is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU General Public License for more details.
//
// You should have received a copy of the GNU General Public License
// along with aasdk. If not, see <http://www.gnu.org/licenses/>.
#pragma once
#include <stdint.h>
namespace aasdk::error {
enum class ErrorCode {
NONE = 0,
USB_CLAIM_INTERFACE = 1,
USB_INVALID_CONFIG_DESCRIPTOR = 2,
USB_OBTAIN_INTERFACE_DESCRIPTOR = 3,
USB_EMPTY_INTERFACES = 4,
USB_INVALID_DEVICE_ENDPOINTS = 5,
USB_INVALID_TRANSFER_METHOD = 6,
USB_TRANSFER_ALLOCATION = 7,
USB_LIST_DEVICES = 8,
USB_OBTAIN_CONFIG_DESCRIPTOR = 9,
USB_TRANSFER = 10,
DATA_SINK_COMMIT_OVERFLOW = 11,
DATA_SINK_CONSUME_UNDERFLOW = 12,
USB_AOAP_PROTOCOL_VERSION = 13,
USB_AOAP_DEVICE_NOT_FOUND = 14,
SSL_READ_CERTIFICATE = 15,
SSL_READ_PRIVATE_KEY = 16,
SSL_METHOD = 17,
SSL_CONTEXT_CREATION = 18,
SSL_USE_CERTIFICATE = 19,
SSL_USE_PRIVATE_KEY = 20,
SSL_HANDLER_CREATION = 21,
SSL_READ_BIO_CREATION = 22,
SSL_WRITE_BIO_CREATION = 23,
SSL_HANDSHAKE = 24,
SSL_WRITE = 25,
SSL_READ = 26,
SSL_BIO_READ = 27,
SSL_BIO_WRITE = 28,
MESSENGER_INTERTWINED_CHANNELS = 29,
OPERATION_ABORTED = 30,
OPERATION_IN_PROGRESS = 31,
PARSE_PAYLOAD = 32,
TCP_TRANSFER = 33
};
}Updated on 2026-03-15 at 09:02:41 +0000