Files
archived-ballistic/include/bal_errors.h
Ronald Caesar 07aa3173de engine: move public headers to include folder
Signed-off-by: Ronald Caesar <github43132@proton.me>
2026-01-10 18:30:45 -04:00

26 lines
457 B
C

/** @file bal_errors.h
*
* @brief Defines Ballistic error types.
*/
#ifndef BAL_ERRORS_H
#define BAL_ERRORS_H
typedef enum
{
// General Errors.
//
BAL_SUCCESS = 0,
BAL_ERROR_INVALID_ARGUMENT = -1,
BAL_ERROR_ALLOCATION_FAILED = -2,
BAL_ERROR_ENGINE_STATE_INVALID = -3,
// IR Errors.
//
BAL_ERROR_INSTRUCTION_OVERFLOW = -100,
} bal_error_t;
#endif /* BAL_ERRORS_H */
/*** end of file ***/