networkservice
Static Public Member Functions | List of all members
utils::helper::Errno Class Reference

A helper class to convert errno to string with additional informations. More...

#include "utils/helper/Errno.h"

Static Public Member Functions

static std::string toString (const std::string &functionName, int errorCode)
 A static member function which converts the given error to string. More...
 

Detailed Description

A helper class to convert errno to string with additional informations.

Author
Boubacar DIENE bouba.nosp@m.car..nosp@m.diene.nosp@m.@gma.nosp@m.il.co.nosp@m.m
Date
April 2020

Member Function Documentation

◆ toString()

static std::string utils::helper::Errno::toString ( const std::string &  functionName,
int  errorCode 
)
static

A static member function which converts the given error to string.

Parameters
functionNameThe name of the function that has failed
errorCodeThe errno

The documentation for this class was generated from the following file: