enum eon_relax_rc_t

Call rc: 0 success (read outcome), positive recoverable, negative a named fail. SURFACE_FATAL makes the instance unusable. Every other named fail leaves the handle reusable.

#include <eon_relax_engine.h>
 
enum eon_relax_rc_t {
    EON_RELAX_OK                = 0,
    EON_RELAX_NULL_ENGINE       = -1,
    EON_RELAX_NULL_BAND         = -2,
    EON_RELAX_NULL_SURFACE      = -3,
    EON_RELAX_NULL_OUTCOME      = -4,
    EON_RELAX_NULL_POSITIONS    = -5,
    EON_RELAX_NULL_ATOMIC_NRS   = -6,
    EON_RELAX_NULL_BOXES        = -7,
    EON_RELAX_NULL_MODE         = -8,
    EON_RELAX_BAND_TOO_SHORT    = -9,
    EON_RELAX_NATOMS            = -10,
    EON_RELAX_UNKNOWN_KIND      = -11,
    EON_RELAX_UNKNOWN_STATUS    = -12,
    EON_RELAX_CAPNP_ROOT        = -13,
    EON_RELAX_SURFACE_FATAL     = -15,
    EON_RELAX_SADDLE_NIMAGES    = -17,
    EON_RELAX_BAND_SIZE         = -18,
    EON_RELAX_ALLOC             = -19,
    EON_RELAX_UNAVAILABLE       = -21,
    EON_RELAX_INVALID_PARAMETER = -22,
    EON_RELAX_ABI_MISMATCH      = -23,
};