aboutsummaryrefslogtreecommitdiffstats
path: root/src/error.c
diff options
context:
space:
mode:
authorRafael G. Martins <rafael@rafaelmartins.eng.br>2016-07-05 03:34:01 +0200
committerRafael G. Martins <rafael@rafaelmartins.eng.br>2016-07-05 03:34:01 +0200
commit16c8bef25dc971c055526fb75a971cbc219822da (patch)
tree55bd09cc06b34a80fea04ab12ff1580814df7a59 /src/error.c
parent8fb67f6c89490e2bbce5d5650f930780e77b57c2 (diff)
downloadblogc-16c8bef25dc971c055526fb75a971cbc219822da.tar.gz
blogc-16c8bef25dc971c055526fb75a971cbc219822da.tar.bz2
blogc-16c8bef25dc971c055526fb75a971cbc219822da.zip
file: added dedicated error type
Diffstat (limited to 'src/error.c')
-rw-r--r--src/error.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/error.c b/src/error.c
index 586386a..0c297b9 100644
--- a/src/error.c
+++ b/src/error.c
@@ -122,6 +122,9 @@ blogc_error_print(blogc_error_t *err)
case BLOGC_ERROR_LOADER:
fprintf(stderr, "blogc: error: loader: %s\n", err->msg);
break;
+ case BLOGC_ERROR_FILE:
+ fprintf(stderr, "blogc: error: file: %s\n", err->msg);
+ break;
case BLOGC_WARNING_DATETIME_PARSER:
fprintf(stderr, "blogc: warning: datetime: %s\n", err->msg);
break;