CCSDS 124.0-B-1 C++ 1.0.0
CCSDS 124.0-B-1 Lossless Compression
Loading...
Searching...
No Matches
error.hpp File Reference

CCSDS 124.0-B-1 error handling. More...

#include "config.hpp"
#include <stdexcept>
#include <string>
Include dependency graph for error.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  ccsds124::Ccsds124Exception
 Base exception for CCSDS 124.0-B-1 errors. More...
 
class  ccsds124::InvalidArgumentException
 Exception for invalid arguments. More...
 
class  ccsds124::OverflowException
 Exception for buffer overflow. More...
 
class  ccsds124::UnderflowException
 Exception for buffer underflow. More...
 
class  ccsds124::InvalidDataException
 Exception for invalid/corrupted data. More...
 

Namespaces

namespace  ccsds124
 

Enumerations

enum class  ccsds124::Error {
  ccsds124::Ok = 0 , ccsds124::InvalidArg = -1 , ccsds124::Overflow = -2 , ccsds124::Underflow = -3 ,
  ccsds124::InvalidData = -4
}
 Error codes for error-code-based error handling. More...
 

Functions

const char * ccsds124::error_string (Error error) noexcept
 Get error message for error code.
 

Detailed Description

CCSDS 124.0-B-1 error handling.

Provides both exception-based and error-code-based error handling for embedded compatibility (-fno-exceptions).

Authors
Georges Labreche georg.nosp@m.es@t.nosp@m.anagr.nosp@m.aspa.nosp@m.ce.co.nosp@m.m
Claude Code (Anthropic) norep.nosp@m.ly@a.nosp@m.nthro.nosp@m.pic..nosp@m.com

Definition in file error.hpp.