Centipede 0.0.1
Centipede program
Loading...
Searching...
No Matches
centipede Namespace Reference

Types for errors. More...

Classes

class  Handler
 Main frontend handler to the library. More...
class  EntryPoint
 Structure of a entrypoint. More...

Typedefs

template<typename T = void>
using EnumError = std::expected<T, ErrorCode>
 Template alias for expected return values.

Enumerations

enum class  ErrorCode : uint8_t {
  writer_neg_or_zero_sigma , writer_buffer_overflow , writer_entrypoint_rejected , writer_file_fail_to_open ,
  writer_uninitialized
}
 Enumerations for the centipede program. More...

Functions

template<std::size_t NLocals, std::size_t NGlobals>
 EntryPoint (std::array< float, NLocals >, std::array< std::pair< uint32_t, float >, NGlobals >, float, float) -> EntryPoint< NLocals, NGlobals >
 Explicit CTAD deduction guide for centipede::EntryPoint.

Detailed Description

Types for returns.

Enumeration Type Documentation

◆ ErrorCode

enum class centipede::ErrorCode : uint8_t
strong
Enumerator
writer_neg_or_zero_sigma 

Zero or negative sigma occurs. See writer::Binary.

writer_buffer_overflow 

Buffer size is too small for a new entry occurs. See writer::Binary.

writer_entrypoint_rejected 

Entrypoint is rejected due to absence of non-zero derivs. See writer::Binary

writer_file_fail_to_open 

File failed to be open.

writer_uninitialized 

Write is not initialized.

Definition at line 14 of file error_types.hpp.