SPI_result_code_string — return error code as string
const char * SPI_result_code_string(int code);
SPI_result_code_string returns a string representation of the result code returned by various SPI functions or stored in SPI_result.
int coderesult code
A string representation of the result code.