LCOV - code coverage report
Current view: top level - funk - fd_funk_base.c (source / functions) Hit Total Coverage
Test: cov.lcov Lines: 14 15 93.3 %
Date: 2024-11-13 11:58:15 Functions: 1 1 100.0 %

          Line data    Source code
       1             : #include "fd_funk_base.h"
       2             : 
       3             : char const *
       4          27 : fd_funk_strerror( int err ) {
       5          27 :   switch( err ) {
       6           3 :   case FD_FUNK_SUCCESS:    return "success";
       7           3 :   case FD_FUNK_ERR_INVAL:  return "inval";
       8           3 :   case FD_FUNK_ERR_XID:    return "xid";
       9           3 :   case FD_FUNK_ERR_KEY:    return "key";
      10           3 :   case FD_FUNK_ERR_FROZEN: return "frozen";
      11           3 :   case FD_FUNK_ERR_TXN:    return "txn";
      12           3 :   case FD_FUNK_ERR_REC:    return "rec";
      13           3 :   case FD_FUNK_ERR_MEM:    return "mem";
      14           0 :   case FD_FUNK_ERR_SYS:    return "sys";
      15           3 :   default: break;
      16          27 :   }
      17           3 :   return "unknown";
      18          27 : }

Generated by: LCOV version 1.14