[misc] Add error code 'GENERIC_BADNESS' master origin/HEAD origin/master pg_vsc_final
authorMaximilian Wilhelm <max@rfc2324.org>
Tue, 20 Oct 2009 22:52:23 +0000 (00:52 +0200)
committerMaximilian Wilhelm <max@rfc2324.org>
Tue, 20 Oct 2009 22:52:23 +0000 (00:52 +0200)
  This error code is ment for situations in which it is not possible (should
  not happen...) or not important to tell what exactly went wrong.

Signed-off-by: Maximilian Wilhelm <max@rfc2324.org>

include/libvscmisc/types.h

index b45454e..dcaf3b7 100644 (file)
@@ -66,6 +66,7 @@ enum VscErrorCode {
        VSC__ERROR_CODE__NOT_IMPLEMENTED_YET,
        VSC__ERROR_CODE__ERRNO,
        VSC__ERROR_CODE__TRACE,
+       VSC__ERROR_CODE__GENERIC_BADNESS,
 };
 
 struct VscError {