Program Listing for File errorcodes.h#
↰ Return to documentation for file (inc/errorcodes.h
)
// SPDX-FileCopyrightText: 2025 Carl Zeiss Microscopy GmbH
//
// SPDX-License-Identifier: MIT
#pragma once
#include <cstdint>
typedef std::int32_t LibCZIApiErrorCode;
static constexpr LibCZIApiErrorCode LibCZIApi_ErrorCode_OK = 0;
static constexpr LibCZIApiErrorCode LibCZIApi_ErrorCode_InvalidArgument = 1;
static constexpr LibCZIApiErrorCode LibCZIApi_ErrorCode_InvalidHandle = 2;
static constexpr LibCZIApiErrorCode LibCZIApi_ErrorCode_OutOfMemory = 3;
static constexpr LibCZIApiErrorCode LibCZIApi_ErrorCode_IndexOutOfRange = 4;
static constexpr LibCZIApiErrorCode LibCZIApi_ErrorCode_LockUnlockSemanticViolated = 20;
static constexpr LibCZIApiErrorCode LibCZIApi_ErrorCode_UnspecifiedError = 50;