liblloyal 1.0.0
Branched Inference for llama.cpp
Loading...
Searching...
No Matches
lloyal::decode::DecodeError Struct Reference

#include <lloyal/decode.hpp>

Inheritance diagram for lloyal::decode::DecodeError:

Public Member Functions

 DecodeError (int32_t rc_, bool partial_, const std::string &msg)
 
DecodeError as_partial () const
 The same failure as an ENCLOSING operation reports it once work before the failing call has landed — decode_segments over its segments.
 

Public Attributes

int32_t rc
 
bool partial
 

Detailed Description

Definition at line 156 of file decode.hpp.

Constructor & Destructor Documentation

◆ DecodeError()

lloyal::decode::DecodeError::DecodeError ( int32_t  rc_,
bool  partial_,
const std::string &  msg 
)
inline

Definition at line 159 of file decode.hpp.

Member Function Documentation

◆ as_partial()

DecodeError lloyal::decode::DecodeError::as_partial ( ) const
inline

The same failure as an ENCLOSING operation reports it once work before the failing call has landed — decode_segments over its segments.

Definition at line 166 of file decode.hpp.

Member Data Documentation

◆ partial

bool lloyal::decode::DecodeError::partial

Definition at line 158 of file decode.hpp.

◆ rc

int32_t lloyal::decode::DecodeError::rc

Definition at line 157 of file decode.hpp.


The documentation for this struct was generated from the following file: