Toychain!
A toy blockchain in C
error.h File Reference

Functions to handle errors message. More...

#include <stdio.h>
Include dependency graph for error.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define MALLOC_ERROR(msg)   fprintf(stderr, "malloc error at %d in file %s in function %s\n message : %s \n", __LINE__, __FILE__, __func__, (msg));
 
#define FILE_ERROR(msg)   fprintf(stderr, "file error at %d in file %s in function %s\n message : %s\n", __LINE__, __FILE__, __func__, (msg));
 

Detailed Description

Functions to handle errors message.