openMMC
Open Source Modular MMC for AMCs
Loading...
Searching...
No Matches
mmc_error.c File Reference

Error handling functions. More...

#include <stddef.h>
#include "mmc_error.h"
Include dependency graph for mmc_error.c:

Functions

const char * get_error_str (mmc_err e)
 Get the corresponding string for an error code.
 

Detailed Description

Error handling functions.

Author
Augusto Fraga Giachero augus.nosp@m.to.f.nosp@m.raga@.nosp@m.cnpe.nosp@m.m.br

Function Documentation

◆ get_error_str()

const char * get_error_str ( mmc_err e)

Get the corresponding string for an error code.

Parameters
[in]eError code
Returns
a pointer to a null-terminated string